Skip to content

Bump YouTubeKit pin past YouTube's August player change - #141

Merged
sanylax0 merged 1 commit into
mainfrom
claude/youtubekit-august-fix
Sep 10, 2026
Merged

sanylax0 merged 1 commit into
mainfrom
claude/youtubekit-august-fix

Conversation

@ShawnMadadha

Copy link
Copy Markdown
Contributor

Problem

YouTube playlist imports hang in an endless preparing/retry loop. Device logs show every download failing and re-resolving forever:

[ingest] stream URL expired for PjE6ASWdFpE — re-resolving
[ingest] prep failed for PjE6ASWdFpE: streamURLExpired
[ingest] retrying PjE6ASWdFpE (attempt 2/5)
[Extraction] Failed to decode object from given start point

Root cause: YouTube changed their player in August; the pinned July YouTubeKit revision (7cc8190) produces stream URLs that now 403 on fetch. Re-resolving can't help — every URL from the old client is rejected, so the queue's (correct) expired-URL recovery loops indefinitely.

Fix

Bump the pin to e5b7d03 — upstream's 2026-08-18 fix (alexeichhorn/YouTubeKit#140: updated web client versions, visionOS player client preference, web-embedded fallback).

Verification

On device (iPhone18,2, iOS 26): a playlist import that previously spun forever on every track now downloads, analyzes, and plays; ingest logs show zero streamURLExpired failures over the observation window.

Note: builds resolving main fresh already get the fixed revision — this records the known-good pin so stale SPM caches (which is how the July revision survived locally) can't quietly resurrect the bug.

🤖 Generated with Claude Code

YouTube's August player change makes stream downloads fail with HTTP
403 on the July revision (7cc8190): every prep loops through
streamURLExpired -> re-resolve -> 403 indefinitely. Upstream fixed
extraction on 2026-08-18 (alexeichhorn/YouTubeKit#140, updated web
client versions + new player-client fallbacks).

Pin the known-good revision e5b7d03. Verified on device: imports that
previously spun forever now download and play.

@sanylax0 sanylax0 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job back to the lobby

@sanylax0
sanylax0 merged commit 6859696 into main Sep 10, 2026
4 checks passed
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