Skip to content

Enable the -n (maxtracks) option functionality#532

Open
christofdamian wants to merge 1 commit into
scdl-org:masterfrom
christofdamian:enable-maxtracks
Open

Enable the -n (maxtracks) option functionality#532
christofdamian wants to merge 1 commit into
scdl-org:masterfrom
christofdamian:enable-maxtracks

Conversation

@christofdamian
Copy link
Copy Markdown
Contributor

This change enables limitting the number of downloaded tracks for some of the download options.
The options are -f, -C, -t, -a, -r.
The parameter was already included in the documentation and implemented in #282, but only for playlists.

This change enables limitting the number of downloaded tracks for some of the
download options.
The options are -f, -C, -t, -a, -r.
The parameter was already included in the documentation and implemented in scdl-org#282,
but only for playlists.
@Tjerbor
Copy link
Copy Markdown

Tjerbor commented Feb 9, 2025

I think i resolved this issue already in my open pull-request or do you have a differnt
purpose in mind?

@christofdamian
Copy link
Copy Markdown
Contributor Author

christofdamian commented Feb 9, 2025 via email

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.

2 participants