mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-11-22 11:05: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']
|
q = ['5', '6', '7', '27']
|
||||||
quality = q[quality[1]]
|
quality = q[quality[1]]
|
||||||
for alb, id_, type_ in zip(albums, ids, types):
|
for alb, id_, type_ in zip(albums, ids, types):
|
||||||
for i in alb:
|
for al in alb:
|
||||||
if type_[i[1]]:
|
if type_[al[1]]:
|
||||||
downloader.iterateIDs(Qz, id_[i[1]], path, quality, True)
|
downloader.iterateIDs(Qz, id_[al[1]], path, quality, True)
|
||||||
else:
|
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):
|
def fromUrl(Qz, path, link, quality):
|
||||||
|
@ -88,9 +88,9 @@ def iterateIDs(client, id, path, quality, album=False):
|
|||||||
mkDir(dirn)
|
mkDir(dirn)
|
||||||
getCover(meta['album']['image']['large'], dirn)
|
getCover(meta['album']['image']['large'], dirn)
|
||||||
if int(quality) == 5:
|
if int(quality) == 5:
|
||||||
downloadItem(dirn, count, parse, i, meta, url, False, True)
|
downloadItem(dirn, count, parse, meta, meta, url, True, True)
|
||||||
else:
|
else:
|
||||||
downloadItem(dirn, count, parse, i, meta, url, False, False)
|
downloadItem(dirn, count, parse, meta, meta, url, True, False)
|
||||||
else:
|
else:
|
||||||
print('Demo. Skipping')
|
print('Demo. Skipping')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user