feat: fetch YouTube playlist metadata to auto-populate feed fields #74

Merged
joezombie merged 2 commits from feat/fetch-youtube-playlist-metadata into main 2026-02-13 20:28:55 +00:00
joezombie commented 2026-02-13 14:23:30 +00:00 (Migrated from github.com)

Summary

  • Adds a GetPlaylistMetadataAsync method to IYouTubeDownloadService that fetches playlist title, author, thumbnail URL, and first video description from YouTube
  • Adds a "Fetch Metadata" button to the feed editor (new + edit pages) that auto-populates empty Title, Author, Image URL, Description, and Link fields from the YouTube playlist
  • Only fills empty fields to avoid overwriting user-entered values; shows snackbar feedback on success/error

Test plan

  • Navigate to /feeds/new, enable YouTube monitoring, paste a playlist URL
  • Click "Fetch Metadata" and verify Title, Author, Image URL, Description, and Link are populated
  • Verify fields with existing values are not overwritten
  • Verify error handling with an invalid URL (error snackbar shown)
  • Verify button is hidden when Playlist URL is empty
  • Verify loading spinner appears during fetch
  • Test on edit page (/feeds/{name}/edit) as well

🤖 Generated with Claude Code

## Summary - Adds a `GetPlaylistMetadataAsync` method to `IYouTubeDownloadService` that fetches playlist title, author, thumbnail URL, and first video description from YouTube - Adds a "Fetch Metadata" button to the feed editor (new + edit pages) that auto-populates empty Title, Author, Image URL, Description, and Link fields from the YouTube playlist - Only fills empty fields to avoid overwriting user-entered values; shows snackbar feedback on success/error ## Test plan - [ ] Navigate to `/feeds/new`, enable YouTube monitoring, paste a playlist URL - [ ] Click "Fetch Metadata" and verify Title, Author, Image URL, Description, and Link are populated - [ ] Verify fields with existing values are not overwritten - [ ] Verify error handling with an invalid URL (error snackbar shown) - [ ] Verify button is hidden when Playlist URL is empty - [ ] Verify loading spinner appears during fetch - [ ] Test on edit page (`/feeds/{name}/edit`) as well 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No description provided.