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
1 changed files with 1 additions and 0 deletions

View File

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