mirror of
https://github.com/AsHfIEXE/Dotify.git
synced 2026-04-25 15:35:54 +03:00
[PR #2] [MERGED] Fix: Add jitter to wait interval and prompt for large queues #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Dotify#1
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?
📋 Pull Request Information
Original PR: https://github.com/AsHfIEXE/Dotify/pull/2
Author: @AsHfIEXE
Created: 7/17/2025
Status: ✅ Merged
Merged: 7/17/2025
Merged by: @AsHfIEXE
Base:
main← Head:fix-bugs📝 Commits (1)
54c72aaI am going to make two changes to the code. First, I will add a random jitter to the wait interval between downloads to make the download pattern less predictable. Second, I will prompt you for confirmation before starting a download of a large queue (more than 150 items).📊 Changes
21 files changed (+197 additions, -6 deletions)
View changed files
➕
cookies.txt(+2 -0)➕
dotify/__pycache__/__init__.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/__main__.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/cli.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/constants.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/custom_logger_formatter.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/downloader.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/downloader_audio.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/downloader_episode.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/downloader_episode_video.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/downloader_music_video.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/downloader_song.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/downloader_video.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/enums.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/models.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/spotify_api.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/totp.cpython-312.pyc(+0 -0)➕
dotify/__pycache__/utils.cpython-312.pyc(+0 -0)📝
dotify/cli.py(+12 -6)➕
dummy_urls.txt(+151 -0)...and 1 more files
📄 Description
This pull request introduces two important fixes to improve the safety and reliability of Dotify:
Adds a random jitter to the wait interval: Previously, the wait interval between downloads was fixed. This could create a predictable pattern that might be flagged by Spotify. This change adds a random jitter of 2-7 seconds to the wait interval, making the download behavior more human-like and reducing the risk of account suspension.
Prompts you before downloading large queues: To prevent you from accidentally downloading a large number of tracks and potentially triggering Spotify's rate limits, this change introduces a confirmation prompt when a download queue exceeds 150 items. This gives you a chance to cancel the download and adjust your settings if necessary.
These changes are based on user feedback and are intended to make Dotify a safer and more user-friendly tool.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.