mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-29 22:45:18 -04:00
Add support for qobuz auth tokens
This commit is contained in:
parent
12db8e001a
commit
41c0c3e3a0
6 changed files with 75 additions and 39 deletions
rip
|
@ -172,8 +172,9 @@ class Config:
|
|||
def qobuz_creds(self):
|
||||
"""Return a QobuzClient compatible dict of credentials."""
|
||||
return {
|
||||
"email": self.file["qobuz"]["email"],
|
||||
"pwd": self.file["qobuz"]["password"],
|
||||
"use_auth_token": self.file["qobuz"]["use_auth_token"],
|
||||
"email_or_userid": self.file["qobuz"]["email_or_userid"],
|
||||
"password_or_token": self.file["qobuz"]["password_or_token"],
|
||||
"app_id": self.file["qobuz"]["app_id"],
|
||||
"secrets": self.file["qobuz"]["secrets"],
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue