mirror of
https://zotify.xyz/zotify/zotify.git
synced 2024-11-09 16:52:00 +01:00
Merge pull request #85 from Nasus20202/fix-bulk-downloads
fix: bulk download wait
This commit is contained in:
commit
dac973ac66
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ def download_track(mode: str, track_id: str, extra_keys=None, disable_progressba
|
|||
if not check_id:
|
||||
add_to_directory_song_ids(filedir, scraped_song_id, PurePath(filename).name, artists[0], name)
|
||||
|
||||
if not Zotify.CONFIG.get_bulk_wait_time():
|
||||
if Zotify.CONFIG.get_bulk_wait_time():
|
||||
time.sleep(Zotify.CONFIG.get_bulk_wait_time())
|
||||
except Exception as e:
|
||||
Printer.print(PrintChannel.ERRORS, '### SKIPPING: ' + song_name + ' (GENERAL DOWNLOAD ERROR) ###')
|
||||
|
|
Loading…
Reference in a new issue