Added functionality to set a minimum and maximum length for a track to be downloaded#540
Open
thijsgoettsch wants to merge 8 commits into
Open
Added functionality to set a minimum and maximum length for a track to be downloaded#540thijsgoettsch wants to merge 8 commits into
thijsgoettsch wants to merge 8 commits into
Conversation
|
Oh, that's quite useful. I usually only want to download sets/mixes. |
|
@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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


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.