Skip to content

fix: tolerate YouTube API failures in channel validation + bump v2.5.13#425

Merged
koala73 merged 1 commit intomainfrom
fix/linux-gstreamer-host-plugins
Feb 26, 2026
Merged

fix: tolerate YouTube API failures in channel validation + bump v2.5.13#425
koala73 merged 1 commit intomainfrom
fix/linux-gstreamer-host-plugins

Conversation

@koala73
Copy link
Owner

@koala73 koala73 commented Feb 26, 2026

Summary

  • Live channels validation: Only reject custom channel adds when YouTube API explicitly returns 200 OK with channelExists: false. Non-OK responses (429 Vercel WAF, 5xx) now allow the add instead of blocking with red border
  • Linux AppImage GStreamer: Append host GStreamer plugin paths so codec plugins work on hosts with newer GStreamer versions than the CI build system
  • Version bump: 2.5.12 → 2.5.13

Test plan

  • Add custom channel @FRANCE24 — should succeed even if YouTube API returns non-200
  • Add invalid handle like @thishandledoesnotexist99999 — should still show "not found" when API returns 200 + channelExists: false

@vercel
Copy link

vercel bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldmonitor Ready Ready Preview, Comment Feb 26, 2026 4:34pm
worldmonitor-finance Ready Ready Preview, Comment Feb 26, 2026 4:34pm
worldmonitor-happy Ready Ready Preview, Comment Feb 26, 2026 4:34pm
worldmonitor-startup Ready Ready Preview, Comment Feb 26, 2026 4:34pm

Request Review

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

…channels

The /api/youtube/live validation endpoint may return 429 or non-JSON
responses (Vercel WAF, YouTube rate limiting). Previously this caused
res.json() to parse HTML → either throw (caught, channel added) or
return channelExists:false (blocked add with red border).

Now only blocks when the API explicitly returns 200 OK with
channelExists:false — any non-OK status or error allows the add.

Also bumps version to 2.5.13.
@koala73 koala73 force-pushed the fix/linux-gstreamer-host-plugins branch from 1e93a6b to 48131dc Compare February 26, 2026 16:33
@koala73 koala73 merged commit 334d320 into main Feb 26, 2026
2 of 6 checks passed
koala73 added a commit that referenced this pull request Feb 26, 2026
Changes since v2.5.13:
- feat: add ARM64 Linux build target and download detection (#427)
- fix(live-channels): tolerate YouTube API failures when adding custom channels (#425)
- fix(linux): append host GStreamer plugins to AppImage search path (#424)
- fix(linux): enable keyring persistence via Secret Service + keyutils (#419)
@koala73 koala73 mentioned this pull request Feb 26, 2026
koala73 added a commit that referenced this pull request Feb 26, 2026
Changes since v2.5.13:
- feat: add ARM64 Linux build target and download detection (#427)
- fix(live-channels): tolerate YouTube API failures when adding custom channels (#425)
- fix(linux): append host GStreamer plugins to AppImage search path (#424)
- fix(linux): enable keyring persistence via Secret Service + keyutils (#419)
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