Fixed download count not increasing

This commit is contained in:
RemixDev 2020-04-11 21:54:38 +02:00
parent 9cd81aa183
commit 497186dba9
1 changed files with 1 additions and 1 deletions

View File

@ -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):