Add per-episode <itunes:image> to RSS feed items #14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Podcast clients can't show per-episode artwork because the feed only sets
<itunes:image>at channel level. ytdl-sub writes<stem>.jpgthumbnail files alongside each audio file; these should be reflected as item-level<itunes:image>tags in the RSS feed.Findings: ytdl-sub names thumbnails with the same stem as the audio file and a
.jpgextension (e.g.2026-05-19 - Episode Title.jpgnext to.opus). The CLAUDE.md input contract says-thumb.jpgsuffix but the live data doesn't use that — will implement against the real data.Approach:
thumbnail_path: Path | None = Nonefield to theEpisodedataclass indiscovery.pydiscover_episodes(), probeaudio_path.with_suffix('.jpg')and setthumbnail_pathif it existsfeed.py_append_episode_item(), emit<itunes:image href="..."/>using the existingbuild_enclosure_url()helper to construct the URLtest_discovery.pyandtest_feed.py, then implementation