mirror of
https://zotify.xyz/zotify/zotify.git
synced 2024-11-10 01:02:06 +01:00
fix: bulk download wait
This commit is contained in:
parent
e236b4d38c
commit
1aa74e0197
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:
|
if not check_id:
|
||||||
add_to_directory_song_ids(filedir, scraped_song_id, PurePath(filename).name, artists[0], name)
|
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())
|
time.sleep(Zotify.CONFIG.get_bulk_wait_time())
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
Printer.print(PrintChannel.ERRORS, '### SKIPPING: ' + song_name + ' (GENERAL DOWNLOAD ERROR) ###')
|
Printer.print(PrintChannel.ERRORS, '### SKIPPING: ' + song_name + ' (GENERAL DOWNLOAD ERROR) ###')
|
||||||
|
|
Loading…
Reference in a new issue