mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-11-22 02:55:25 +01:00
one track bug
This commit is contained in:
parent
9fb700a806
commit
b98ffa3960
8
main.py
8
main.py
@ -49,11 +49,11 @@ def searchSelected(Qz, path, albums, ids, types, quality):
|
||||
q = ['5', '6', '7', '27']
|
||||
quality = q[quality[1]]
|
||||
for alb, id_, type_ in zip(albums, ids, types):
|
||||
for i in alb:
|
||||
if type_[i[1]]:
|
||||
downloader.iterateIDs(Qz, id_[i[1]], path, quality, True)
|
||||
for al in alb:
|
||||
if type_[al[1]]:
|
||||
downloader.iterateIDs(Qz, id_[al[1]], path, quality, True)
|
||||
else:
|
||||
downloader.iterateIDs(Qz, id_[i[1]], path, quality, False)
|
||||
downloader.iterateIDs(Qz, id_[al[1]], path, quality, False)
|
||||
|
||||
|
||||
def fromUrl(Qz, path, link, quality):
|
||||
|
@ -88,9 +88,9 @@ def iterateIDs(client, id, path, quality, album=False):
|
||||
mkDir(dirn)
|
||||
getCover(meta['album']['image']['large'], dirn)
|
||||
if int(quality) == 5:
|
||||
downloadItem(dirn, count, parse, i, meta, url, False, True)
|
||||
downloadItem(dirn, count, parse, meta, meta, url, True, True)
|
||||
else:
|
||||
downloadItem(dirn, count, parse, i, meta, url, False, False)
|
||||
downloadItem(dirn, count, parse, meta, meta, url, True, False)
|
||||
else:
|
||||
print('Demo. Skipping')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user