Skip to content

Hide "Download yt-dlp" button in Open from URL when already up to date#12559

Merged
niksedk merged 2 commits into
mainfrom
fix/open-from-url-ytdlp-button
Jul 17, 2026
Merged

Hide "Download yt-dlp" button in Open from URL when already up to date#12559
niksedk merged 2 commits into
mainfrom
fix/open-from-url-ytdlp-button

Conversation

@niksedk

@niksedk niksedk commented Jul 17, 2026

Copy link
Copy Markdown
Member

Problem

The "Open video from URL" window always showed a "Download yt-dlp" button, even when the latest yt-dlp was already installed.

Fix

  • The button is now hidden by default and only appears when the background yt-dlp --version outdated-check (which already runs while the dialog is open) reports the install as outdated.
  • After a successful update via the button, it hides again.
  • The redundant "yt-dlp is outdated" prompt after submitting a URL is skipped when the user already updated through the button (the background check result predates that update).

Note: when yt-dlp is missing entirely, the install prompt already blocks before this window opens, so the always-visible button never had a purpose in the up-to-date case.

Also: "Save..." button in the online subtitle picker

The "Pick subtitle to download" window now has a "Save..." button (mirroring the export button in the Matroska track picker) that saves the selected downloaded subtitle file as-is (plain copy, no format conversion) to a user-chosen location. Needed because the downloaded files live in a temp directory that is deleted right after the picker closes. The save-as suggestion uses a video-derived name with language code (e.g. MyVideo.en.vtt) instead of the temp-dir sub.en.vtt naming.

🤖 Generated with Claude Code

niksedk and others added 2 commits July 17, 2026 09:11
The button was always visible, even with the latest yt-dlp installed.
Now it is hidden by default and only shown when the background version
check finds the installed yt-dlp outdated. After a successful update via
the button it hides again, and the post-submit "outdated" prompt is
skipped when the user already updated through the button.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Lets the user save the selected downloaded subtitle file as-is (plain
copy, no format conversion) to a chosen location — the downloaded files
live in a temp directory that is deleted right after the picker closes.
Mirrors the export button in the Matroska track picker. The save-as
suggestion uses a video-derived name with language code instead of the
temp-dir "sub.en.vtt" naming.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@niksedk
niksedk force-pushed the fix/open-from-url-ytdlp-button branch from 15cb888 to e77eac3 Compare July 17, 2026 07:38
@niksedk
niksedk merged commit c926449 into main Jul 17, 2026
2 of 4 checks passed
@niksedk
niksedk deleted the fix/open-from-url-ytdlp-button branch July 17, 2026 07:39
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