mirror of
https://git.lucida.su/lucida/verdana.git
synced 2026-07-26 22:42:20 +00:00
add fallback to premium check for qobuz
This commit is contained in:
parent
29183aa91c
commit
bb26ec6834
1 changed files with 3 additions and 1 deletions
|
|
@ -329,7 +329,9 @@ export default class Qobuz implements StreamerWithLogin {
|
|||
|
||||
return {
|
||||
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,
|
||||
explicit: true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue