mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-09 13:07:25 -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 {
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user