Where they come from, in order: the chapters file an item names
(<podcast:chapters url>, the Podcasting 2.0 namespace's JSON), stored on
the item as entries.chapters and read when someone opens Now Playing; else
the downloaded file's own chapters (ID3 CHAP frames, MP4 chapters), which
ffprobe reads as it does for DeadAir. A chapter with toc false is only
there to change the artwork and is left out.
GET /api/enclosures/{id}/chapters answers for a file, since a file is what
plays. With ?deadair=true the starts are moved into DeadAir's shortened
clock with to_copy, as positions are, or a chapter would start late by
every silence cut before it. A chapters file that cannot be read is an
empty list: the player plays on without them, and the step's span says why.
Items already stored get their chapters address when a scan next finds
them told differently; feeds that answer 304 add it with their next items.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RqkrVBuJRne2JAhFpaDV2U
17 lines
1.1 KiB
XML
17 lines
1.1 KiB
XML
<?xml version="1.0"?>
|
|
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:podcast="https://podcastindex.org/namespace/1.0">
|
|
<channel><title>Test Show</title><link>http://127.0.0.1:8792/</link><description>A fixture feed.</description>
|
|
<itunes:image href="http://127.0.0.1:8792/art.png"/>
|
|
<itunes:category text="Technology"/>
|
|
<item><title>First Episode</title><guid>ui-1</guid>
|
|
<pubDate>Mon, 01 Sep 2026 10:00:00 +0000</pubDate>
|
|
<description><p>Show notes for the first one.</p></description>
|
|
<itunes:duration>1830</itunes:duration><itunes:season>1</itunes:season><itunes:episode>1</itunes:episode>
|
|
<enclosure url="http://127.0.0.1:8792/ep1.mp3" length="40000" type="audio/mpeg"/></item>
|
|
<item><title>Second Episode</title><guid>ui-2</guid>
|
|
<pubDate>Mon, 08 Sep 2026 10:00:00 +0000</pubDate>
|
|
<description>Notes for the second.</description>
|
|
<itunes:duration>900</itunes:duration>
|
|
<podcast:chapters url="http://127.0.0.1:8792/chapters.json" type="application/json+chapters"/>
|
|
<enclosure url="http://127.0.0.1:8792/ep1.mp3?2" length="40000" type="audio/mpeg"/></item>
|
|
</channel></rss> |