Fixed download count not increasing
This commit is contained in:
parent
9cd81aa183
commit
497186dba9
|
@ -563,7 +563,7 @@ def downloadTrackObj(dz, trackAPI, settings, bitrate, queueItem, extraTrack=None
|
||||||
result['searched'] = f'{track["mainArtist"]["name"]} - {track["title"]}'
|
result['searched'] = f'{track["mainArtist"]["name"]} - {track["title"]}'
|
||||||
print("Done!")
|
print("Done!")
|
||||||
if socket:
|
if socket:
|
||||||
socket.emit("updateQueue", {'uuid': uuid, 'downloaded': True})
|
socket.emit("updateQueue", {'uuid': queueItem['uuid'], 'downloaded': True})
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def download(dz, queueItem, socket=None):
|
def download(dz, queueItem, socket=None):
|
||||||
|
|
Loading…
Reference in New Issue