From 497186dba9ec6c161c1989921a52284a51249e92 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sat, 11 Apr 2020 21:54:38 +0200 Subject: [PATCH] Fixed download count not increasing --- deemix/app/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/app/downloader.py b/deemix/app/downloader.py index 92f5c61..c0c3540 100644 --- a/deemix/app/downloader.py +++ b/deemix/app/downloader.py @@ -563,7 +563,7 @@ def downloadTrackObj(dz, trackAPI, settings, bitrate, queueItem, extraTrack=None result['searched'] = f'{track["mainArtist"]["name"]} - {track["title"]}' print("Done!") if socket: - socket.emit("updateQueue", {'uuid': uuid, 'downloaded': True}) + socket.emit("updateQueue", {'uuid': queueItem['uuid'], 'downloaded': True}) return result def download(dz, queueItem, socket=None):