Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 21ef308
Merge: dac973a 83f50f9
Author: Zotify <115511604+zotify-dev@users.noreply.github.com>
Date:   Tue Jul 30 10:45:40 2024 +1200

    Merge pull request zotify-dev#159 from azumukupoe/tabulate-widechars

    Install tabulate with support for wide characters

commit dac973a
Merge: fa2156b 1aa74e0
Author: Zotify <115511604+zotify-dev@users.noreply.github.com>
Date:   Tue Jul 30 10:33:58 2024 +1200

    Merge pull request zotify-dev#85 from Nasus20202/fix-bulk-downloads

    fix: bulk download wait

commit 83f50f9
Author: azumukupoe <31339007+azumukupoe@users.noreply.github.com>
Date:   Wed Jul 10 16:21:46 2024 +0900

    Install tabulate with support for wide characters

commit 1aa74e0
Author: Krzysztof Nasuta <krzysztof.nasuta@wp.pl>
Date:   Wed Jan 24 18:49:16 2024 +0100

    fix: bulk download wait
  • Loading branch information
Googolplexed0 committed Aug 25, 2024
1 parent 0b3afe8 commit c59d6aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ music_tag
Pillow
protobuf
pwinput
tabulate
tabulate[widechars]
tqdm
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ install_requires =
Pillow
protobuf==3.20.1
pwinput
tabulate
tabulate[widechars]
tqdm

[options.package_data]
Expand Down
4 changes: 2 additions & 2 deletions zotify/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ def download_track(mode: str, track_id: str, extra_keys=None, wrapper_p_bars: li
# add song ID to download directory's .song_ids file
if not check_local:
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:
Expand Down

0 comments on commit c59d6aa

Please sign in to comment.