mirror of
https://git.lucida.su/lucida/verdana.git
synced 2026-08-17 21:05:48 +00:00
Merge pull request 'tidal: add 24bit flac support' (#5) from uhwot/lucida:tidal-24bit into main
Reviewed-on: https://git.gay/lucida/lucida/pulls/5
This commit is contained in:
commit
2db8217fd4
1 changed files with 2 additions and 2 deletions
|
|
@ -262,11 +262,11 @@ export default class Tidal implements Streamer {
|
|||
tracks: tracksResponse.items.map(parseTrack)
|
||||
}
|
||||
}
|
||||
async #getFileUrl(trackId: number | string, quality = 'LOSSLESS'): Promise<GetStreamResponse> {
|
||||
async #getFileUrl(trackId: number | string, quality = 'HI_RES_LOSSLESS'): Promise<GetStreamResponse> {
|
||||
interface PlaybackInfo {
|
||||
manifest: string
|
||||
manifestMimeType: string
|
||||
audioQuality: 'LOW' | 'HIGH' | 'LOSSLESS' | 'HI_RES'
|
||||
audioQuality: 'LOW' | 'HIGH' | 'LOSSLESS' | 'HI_RES' | 'HI_RES_LOSSLESS'
|
||||
}
|
||||
const playbackInfoResponse = <PlaybackInfo>await this.#get(
|
||||
`tracks/${trackId}/playbackinfopostpaywall/v4`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue