Fixed playlist download when using savePlaylistAsCompilation

This commit is contained in:
RemixDev 2020-12-31 20:00:11 +01:00
parent 102cf51d34
commit e55dabddff
No known key found for this signature in database
GPG key ID: B33962B465BDB51C

View file

@ -364,6 +364,7 @@ class Track:
def parsePlaylistData(self, playlist):
self.playlist = {}
playlist['various_artist']['role'] = "Main"
if 'dzcdn.net' in playlist['picture_small']:
url = playlist['picture_small']
picType = url[url.find('images/')+7:]