mirror of
https://gitlab.com/RemixDev/deezer-py.git
synced 2025-01-14 18:45:16 +00:00
Added loved_tracks to current_user
This commit is contained in:
parent
3fa01e825c
commit
f1c8bf1863
|
@ -123,7 +123,8 @@ class Deezer:
|
|||
'can_stream_hq': user_data["USER"]["OPTIONS"]["web_hq"] or user_data["USER"]["OPTIONS"]["mobile_hq"],
|
||||
'can_stream_lossless': user_data["USER"]["OPTIONS"]["web_lossless"] or user_data["USER"]["OPTIONS"]["mobile_lossless"],
|
||||
'country': user_data["USER"]["OPTIONS"]["license_country"],
|
||||
'language': user_data["USER"]["SETTING"]["global"]["language"]
|
||||
'language': user_data["USER"]["SETTING"]["global"]["language"],
|
||||
'loved_tracks': child.get("LOVEDTRACKS_ID")
|
||||
})
|
||||
else:
|
||||
self.childs.append({
|
||||
|
@ -134,7 +135,8 @@ class Deezer:
|
|||
'can_stream_hq': user_data["USER"]["OPTIONS"]["web_hq"] or user_data["USER"]["OPTIONS"]["mobile_hq"],
|
||||
'can_stream_lossless': user_data["USER"]["OPTIONS"]["web_lossless"] or user_data["USER"]["OPTIONS"]["mobile_lossless"],
|
||||
'country': user_data["USER"]["OPTIONS"]["license_country"],
|
||||
'language': user_data["USER"]["SETTING"]["global"]["language"]
|
||||
'language': user_data["USER"]["SETTING"]["global"]["language"],
|
||||
'loved_tracks': user_data["USER"].get("LOVEDTRACKS_ID")
|
||||
})
|
||||
|
||||
def change_account(self, child_n):
|
||||
|
|
Loading…
Reference in a new issue