This commit is contained in:
uh wot
2021-12-31 00:10:59 +01:00
parent d86a41a028
commit c82667a5a4

View File

@@ -63,7 +63,7 @@ class DeezerAPI:
self.renew_timestamp = ceil(time())
self.language = resp['results']['USER']['SETTING']['global']['language']
self.available_formats = []
self.available_formats = ['MP3_128']
format_dict = {'web_hq': 'MP3_320', 'web_lossless': 'FLAC'}
for k, v in format_dict.items():
if resp['results']['USER']['OPTIONS'][k]: