mirror of
https://gitlab.com/RemixDev/deemix-py.git
synced 2024-12-28 02:26:14 +00:00
Made artist download work
This commit is contained in:
parent
4e1485f8d6
commit
07bdca4599
|
@ -50,7 +50,12 @@ def download(url, bitrate, portable, path):
|
|||
|
||||
for link in links:
|
||||
downloadObject = generateDownloadObject(dz, link, bitrate)
|
||||
Downloader(dz, downloadObject, settings).start()
|
||||
if isinstance(downloadObject, list):
|
||||
for obj in downloadObject:
|
||||
Downloader(dz, obj, settings).start()
|
||||
else:
|
||||
Downloader(dz, downloadObject, settings).start()
|
||||
|
||||
|
||||
if path is not None:
|
||||
if path == '': path = '.'
|
||||
|
|
Loading…
Reference in a new issue