Misc updates for Deezer

This commit is contained in:
nathom 2021-07-28 14:26:14 -07:00
parent 64bb0ace79
commit f3c680ace7
3 changed files with 87 additions and 77 deletions

View file

@ -141,7 +141,9 @@ class Config:
return self.qobuz_creds
if source == "tidal":
return self.tidal_creds
if source == "deezer" or source == "soundcloud":
if source == "deezer":
return {"arl": self.file["deezer"]["arl"]}
if source == "soundcloud":
return {}
raise InvalidSourceError(source)