[PR #2] [MERGED] Fix: Add jitter to wait interval and prompt for large queues #1

Closed
opened 2026-02-28 14:19:29 +03:00 by kerem · 0 comments
Owner

📋 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: mainHead: fix-bugs


📝 Commits (1)

  • 54c72aa I 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.

## 📋 Pull Request Information **Original PR:** https://github.com/AsHfIEXE/Dotify/pull/2 **Author:** [@AsHfIEXE](https://github.com/AsHfIEXE) **Created:** 7/17/2025 **Status:** ✅ Merged **Merged:** 7/17/2025 **Merged by:** [@AsHfIEXE](https://github.com/AsHfIEXE) **Base:** `main` ← **Head:** `fix-bugs` --- ### 📝 Commits (1) - [`54c72aa`](https://github.com/AsHfIEXE/Dotify/commit/54c72aa536109eb860655d9708f240e8beb72cce) I 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) <details> <summary>View changed files</summary> ➕ `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_ </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:19:29 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Dotify#1
No description provided.