This commit is contained in:
aria
2024-07-23 01:49:56 -04:00
parent 62e032fea8
commit 96d0d2889e
3 changed files with 4 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ export default class Qobuz implements StreamerWithLogin {
await this.#getSigned('track/getFileUrl', params)
)
if (trackFileResponse.sample == true)
throw new Error(`Could not get non-sample file. Make sure the track isn't download-only.`)
throw new Error(`Could not get non-sample file. Make sure the track isn't purchase-only.`)
const streamResponse = await fetch(trackFileResponse.url)
return {
mimeType: trackFileResponse.mime_type,