Enable YouTube URL imports in the deployed app #8
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/fly-youtube-acquisition"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
YouTube imports failed immediately because the runtime image did not include or configure yt-dlp. Package checksum-pinned yt-dlp 2026.08.19 and Deno 2.9.6, include ffmpeg/ffprobe, and set MEDIA_YT_DLP in the image. Check all executables as Media’s non-root user during the image build.
The reported URL also has no combined audio/video HTTP representation. Preserve the existing combined-format preference and add a separate-track fallback, merged by ffmpeg without re-encoding. Record lossless_merge in acquisition metadata and accept the final container reported after merging. No browser credentials or user downloader configuration are used.
Validation: all 53 acquisition tests passed, including eight focused downloader tests; formatting and Fly entrypoint checks passed. The exact-commit runtime image built successfully and was deployed to the existing Fly machine. Public health and revision checks passed, as did post-deployment non-root executable checks. CI completed 523 web tests and 146 web-core tests before being canceled to prevent a duplicate deployment; full CI validation was not completed.
Live acceptance: resubmitted dnSpKF5pWNQ through the authenticated Add URLs dialog. The job reached Done after downloading video 401 plus original-English audio 251-8, merging to WebM and publishing the approximately 647 MiB artifact. Record ab882a5f-945a-4d11-a073-6f23878aee26 plays in desktop Safari: visible video, active audio indicator, 54:37 duration, playback advanced to 0:24 and was paused. iPhone playback was not tested.
Separate existing metadata/synchronization gaps observed during acceptance: canonical title remains the YouTube ID rather than the downloader title, and opening the new record required refreshing the local library first. These are not claimed fixed by this release.