Made artist download work
This commit is contained in:
parent
4e1485f8d6
commit
07bdca4599
|
@ -50,8 +50,13 @@ def download(url, bitrate, portable, path):
|
|||
|
||||
for link in links:
|
||||
downloadObject = generateDownloadObject(dz, link, bitrate)
|
||||
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 = '.'
|
||||
path = Path(path)
|
||||
|
|
Loading…
Reference in New Issue