mirror of
https://git.gay/lucida/lucida
synced 2025-12-11 20:15:14 +01:00
add fallback to premium check for qobuz
This commit is contained in:
parent
29183aa91c
commit
bb26ec6834
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user