diff --git a/package.json b/package.json index a7baec1..3723997 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lucida", - "version": "2.0.0-53", + "version": "2.0.0-54", "description": "A modular music downloader tool", "main": "build/index.js", "type": "module", diff --git a/src/streamers/qobuz/main.ts b/src/streamers/qobuz/main.ts index 77ad982..d3c837f 100644 --- a/src/streamers/qobuz/main.ts +++ b/src/streamers/qobuz/main.ts @@ -57,6 +57,9 @@ interface LoginResponse { label: string source: string } + subscription: { + offer: string + } } user_auth_token: string } @@ -331,7 +334,7 @@ export default class Qobuz implements StreamerWithLogin { valid: true, premium: loginResponse.user?.credential?.parameters?.hires_streaming || - loginResponse.user.credential.label.toLowerCase().includes('subscriber'), + loginResponse.user.subscription.offer == 'studio', country: loginResponse.user.country, explicit: true }