mirror of
https://github.com/Googolplexed0/zotify.git
synced 2026-04-25 14:25:50 +03:00
[GH-ISSUE #11] rate timer #9
Labels
No labels
bug
considering
discussion
documentation
enhancement
enhancement
good first issue
help wanted
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zotify#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pxrave on GitHub (Apr 8, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/11
Originally assigned to: @Googolplexed0 on GitHub.
when downloading multible songs rate limiter always hit.
should be 30 or more seconds after every song.
@Googolplexed0 commented on GitHub (Apr 9, 2025):
You can already set the config BULK_WAIT_TIME to whatever time (in seconds) you want to wait between song downloads. I did add a reference to this suggested BULK_WAIT_TIME in the README in commit
25221af, for those who don't know how to solve it.@ccrowles commented on GitHub (May 20, 2025):
Does it also work with the command for downloading liked songs? Asking because I set it to 30 but it doesn't seem to wait 30 seconds between each song download.
@Googolplexed0 commented on GitHub (May 20, 2025):
Yes, the
time.sleep(Zotify.CONFIG.get_bulk_wait_time())runs directly after any track is downloaded, regardless of what mode is used to select tracks. If a track is not downloaded (is skipped) then the sleep will not run.Technically, it may still be possible to timeout by doing metadata API requests for each song and then skipping the download, but this seems unlikely to happen.
@ccrowles commented on GitHub (May 20, 2025):
Then for whatever reason it's not working for me, it downloaded 10 tracks in a row without any kind of waiting/pause despite the config having the bulk wait time set to 30. I even tried setting it to 60 but nothing changed.
@Googolplexed0 commented on GitHub (May 20, 2025):
Okay, that is strange. I just confirmed that it works on my system. Does
DOWNLOAD_REAL_TIMEtake effect for you?@ccrowles commented on GitHub (May 20, 2025):
Yep, download_real_time works as intended. Unless you mean if it respects the bulk wait time, in which case I haven't tried with download_real_time because it's already extremely slow as it is.
@Googolplexed0 commented on GitHub (May 20, 2025):
Sounds like it is correctly reading your
config.jsonthen. Try after commit3d80e90and see if that fixes anything. You should see### WAITING FOR 30 SECONDS BETWEEN DOWNLOADS ###, if nothing prints or the time isNonethen I will have to dig further.@ccrowles commented on GitHub (May 21, 2025):
Should I simply update by running the install command again, or should I uninstall zotify and then install?
@Googolplexed0 commented on GitHub (Jun 5, 2025):
Either should work, but the install command may require the
--upgradeflag.