add support for soundcloud non-progressive formats

This commit is contained in:
aria
2024-05-05 22:53:15 -04:00
parent cd6a8c69ff
commit f4b2e61db1
4 changed files with 104 additions and 27 deletions

View File

@@ -277,11 +277,9 @@ export default class Tidal implements Streamer {
prefetch: 'false'
}
)
if (
playbackInfoResponse.audioQuality == 'HIGH' ||
playbackInfoResponse.audioQuality == 'LOW'
) throw new Error('This ripper is incompatible with AAC codecs formats at the moment.')
if (playbackInfoResponse.audioQuality == 'HIGH' || playbackInfoResponse.audioQuality == 'LOW')
throw new Error('This ripper is incompatible with AAC codecs formats at the moment.')
const manifestStr = Buffer.from(playbackInfoResponse.manifest, 'base64').toString('utf-8')
interface Manifest {