Skip to content

Add YT_DLP_VERSION env var for version management#858

Open
ddacunha wants to merge 2 commits intokieraneglin:masterfrom
ddacunha:yt-dlp-version-env
Open

Add YT_DLP_VERSION env var for version management#858
ddacunha wants to merge 2 commits intokieraneglin:masterfrom
ddacunha:yt-dlp-version-env

Conversation

@ddacunha
Copy link
Copy Markdown
Contributor

What's new?

Allows configuring yt-dlp update behavior via environment variable:

  • "stable" (default): updates to latest stable release daily
  • "nightly": updates to latest nightly build daily
  • "master": updates to latest master build daily
  • "pinned" or "none": disables automatic updates
  • Specific version (e.g. "2025.12.08"): pins to that version

What's changed?

Implemented YT_DLP_VERSION

What's fixed?

A few weeks ago the latest stable version of yt-dlp was buggy. I thought this type of control can be useful.

Any other comments?

Full disclosure, I have been testing this for more than an month but it was generated by claude code.

  • I am the original author of this code and I am giving it freely to the community and Pinchflat project maintainers

ddacunha and others added 2 commits January 18, 2026 21:29
Allows configuring yt-dlp update behavior via environment variable:
- "stable" (default): updates to latest stable release daily
- "nightly": updates to latest nightly build daily
- "master": updates to latest master build daily
- "pinned" or "none": disables automatic updates
- Specific version (e.g. "2025.12.08"): pins to that version
The update/1 function now receives a version argument, but the test
mocks were still expecting update/0. Updated mock expectations to
accept the version parameter.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
bwittgen added a commit to bwittgen/pinchflat that referenced this pull request Mar 29, 2026
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.

1 participant