Skip to content

Added functionality to set a minimum and maximum length for a track to be downloaded#540

Open
thijsgoettsch wants to merge 8 commits into
scdl-org:masterfrom
thijsgoettsch:master
Open

Added functionality to set a minimum and maximum length for a track to be downloaded#540
thijsgoettsch wants to merge 8 commits into
scdl-org:masterfrom
thijsgoettsch:master

Conversation

@thijsgoettsch
Copy link
Copy Markdown

With these changes you can set a minimum and/and or maximum length for a track to be downloaded, else it will be skipped. This was a feature I was missing since if you download a playlist you might not want to download sets/mixes but only tracks.

@cdamian-sh
Copy link
Copy Markdown

Oh, that's quite useful. I usually only want to download sets/mixes.

@tolgaerok
Copy link
Copy Markdown

I made a YAD gui script for this and is working great. Good project.

received_4214906805404921.png

received_1245575897114623.png

@Jari-Onyx
Copy link
Copy Markdown

@7x11x13 Can we please look at merging this? This would be very useful :)

felciano added a commit to felciano/scdl that referenced this pull request May 9, 2026
- scdl-org#582: pin curl-cffi to avoid broken 0.14.x range (macOS compat)
- scdl-org#577: fix yt_dlp.__init__ imports to fix PyInstaller builds
- scdl-org#540: add --min-length / --max-length via yt-dlp match-filters
- scdl-org#532: add -n/maxtracks via --playlist-items slice, works with all modes
- scdl-org#527: add --retries/--fragment-retries defaults for reconnect resilience
- scdl-org#462: add --config-file for alternate config path
- scdl-org#287: add --list (dry-run listing via yt-dlp --simulate + --print)
- scdl-org#529: download_url() now returns list[str] of downloaded filenames

All feature PRs reimplemented for the v3/yt-dlp architecture.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants