Fixed playlist downloading
This commit is contained in:
parent
8b70e1424e
commit
6f6523ff8b
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
__version__ = "2.0.2"
|
||||
__version__ = "2.0.3"
|
||||
USER_AGENT_HEADER = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) " \
|
||||
"Chrome/79.0.3945.130 Safari/537.36"
|
||||
|
|
|
@ -264,6 +264,7 @@ class Track:
|
|||
'name': albumAPI_gw['ART_NAME'],
|
||||
'pic': None
|
||||
}
|
||||
self.album['rootArtist'] = None
|
||||
|
||||
# albumAPI_gw doesn't contain the artist cover
|
||||
# Getting artist image ID
|
||||
|
@ -359,6 +360,7 @@ class Track:
|
|||
'pic': playlist['various_artist']['picture_small'][
|
||||
playlist['various_artist']['picture_small'].find('artist/') + 7:-24]
|
||||
}
|
||||
self.playlist['rootArtist'] = None
|
||||
if settings['albumVariousArtists']:
|
||||
self.playlist['artist'] = {"Main": [playlist['various_artist']['name'], ]}
|
||||
self.playlist['artists'] = [playlist['various_artist']['name'], ]
|
||||
|
|
Loading…
Reference in New Issue