fix tidal, soundcloud bugs

This commit is contained in:
aria blue
2024-04-10 21:09:12 -04:00
committed by hazycora
parent e1fbbf3885
commit 6e454e15ae
2 changed files with 4 additions and 2 deletions

View File

@@ -179,6 +179,7 @@ export default class Soundcloud implements Streamer {
const track = data.tracks[i]
const parsedTrack = {
type: 'track',
id: track.id,
title: track.title,
url: track.permalink_url,

View File

@@ -234,7 +234,8 @@ export default class Tidal implements Streamer {
{
replace: 'true',
offset: 0,
includeContributors: 'true'
includeContributors: 'true',
limit: 100
}
)
return contributorResponse.items.map((item) => parseTrack(addCredits(item.item, item.credits)))
@@ -261,7 +262,7 @@ export default class Tidal implements Streamer {
manifestMimeType: string
}
const playbackInfoResponse = <PlaybackInfo>await this.#get(
`tracks/${trackId}/playbackinfopostpaywall`,
`tracks/${trackId}/playbackinfopostpaywall/v4`,
{
playbackmode: 'STREAM',
assetpresentation: 'FULL',