Enable YouTube URL imports in the deployed app #8

Merged
conrad merged 2 commits from codex/fly-youtube-acquisition into main 2026-09-05 23:39:08 -04:00
Owner

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.

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.
Import separate video and audio streams with lossless merging
Some checks failed
deploy-fly / deploy (push) Has been cancelled
deploy-fly / validate (push) Has been cancelled
50f87465fa
conrad merged commit 50f87465fa into main 2026-09-05 23:39:08 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
conrad/media!8
No description provided.