mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-14 07:37:24 -05:00
add fallback to premium check for qobuz
This commit is contained in:
@@ -329,7 +329,9 @@ export default class Qobuz implements StreamerWithLogin {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
valid: true,
|
valid: true,
|
||||||
premium: loginResponse.user.credential.parameters.hires_streaming,
|
premium:
|
||||||
|
loginResponse.user?.credential?.parameters?.hires_streaming ||
|
||||||
|
loginResponse.user.credential.label.toLowerCase().includes('subscriber'),
|
||||||
country: loginResponse.user.country,
|
country: loginResponse.user.country,
|
||||||
explicit: true
|
explicit: true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user