Skip to content

fix(ytdlp): check for updates during long tray sessions - #81

Merged
NUber-dev merged 2 commits into
NUber-dev:mainfrom
wakamex:fix/ytdlp-runtime-update-check
Sep 23, 2026
Merged

NUber-dev merged 2 commits into
NUber-dev:mainfrom
wakamex:fix/ytdlp-runtime-update-check

Conversation

@wakamex

@wakamex wakamex commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Closing YTubic hides it to the tray by default, so the process can stay alive for days and never run the launch-only yt-dlp update check. The existing 72-hour cadence can therefore be missed indefinitely. My running version used yt-dlp from August 14 and stopped working today.

Implementation

  • Poll hourly while the app process is alive.
  • Keep the existing Rust-side 72-hour throttle, so early polls stay local.
  • Use a dedicated update-only command guarded by the same mutex as setup and retry.
  • Avoid repeating readiness events, first-run setup, macOS prewarming, or legacy cleanup.

Testing

  • cargo test --manifest-path src-tauri/Cargo.toml --lib - 21 passed
  • pnpm test - 229 passed
  • pnpm build

@NUber-dev
NUber-dev force-pushed the fix/ytdlp-runtime-update-check branch from c37e371 to c8956fc Compare September 23, 2026 11:40
@NUber-dev
NUber-dev merged commit 53a0999 into NUber-dev:main Sep 23, 2026
4 checks passed
ameenalasady pushed a commit to ameenalasady/YTubic that referenced this pull request Sep 28, 2026
* fix(ytdlp): check for updates during long sessions

* refactor(ytdlp): isolate periodic update checks
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