From 6a7847170e490f7dccc1c32670e897ef7684e4c1 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sun, 19 Jul 2020 08:25:58 +0200 Subject: [PATCH] re-added playlist cover download --- deemix/app/downloader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deemix/app/downloader.py b/deemix/app/downloader.py index 1b1f728..714c6c6 100644 --- a/deemix/app/downloader.py +++ b/deemix/app/downloader.py @@ -938,6 +938,7 @@ def after_download(tracks, settings, queueItem): extrasPath = None playlist = [None] * len(tracks) playlistCover = None + playlistURLs = [] errors = "" searched = "" for index in range(len(tracks)): @@ -954,6 +955,7 @@ def after_download(tracks, settings, queueItem): extrasPath = result['extrasPath'] if not playlistCover and 'playlistCover' in result: playlistCover = result['playlistCover'] + playlistURLs = result['playlistURLs'] if settings['saveArtwork'] and 'albumPath' in result: for image in result['albumURLs']: downloadImage(image['url'], f"{result['albumPath']}.{image['ext']}", settings['overwriteFile'])