Repository navigation
Replies: 1 comment
|
Most of this works today through I have put the dedicated endpoint on the backlog next to the podcast idea #1167. If you try |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What would you like?
Objective
Public podcast episodes should be playable on STR-Reborn speakers through a dedicated, clearly separated playback path. This would allow third-party apps and other local clients to search for podcasts, process RSS feeds, and then send a selected episode to the speaker for playback.
Why a Dedicated Playback Path?
POST /api/play is designed for radio stations and general audio streams. Podcast episodes are finite audio files, often provided via HTTPS URLs, and require reliable handling of end-of-file behavior, pause/resume functionality, and, where supported by the Bose hardware, playback position reporting and seeking.
Podcast-specific logic should remain separate from radio, Spotify, and preset functionality.
Proposal: Local API Endpoint
POST /api/podcast/play
Example request:
{
"url": "https://podcast-provider.example/episode-42.m4a",
"title": "Episode 42 – Title",
"show": "Podcast Name",
"art": "https://podcast-provider.example/cover.jpg",
"mime": "audio/mp4",
"duration_sec": 1830
}
Requirements
Accept only public HTTP/HTTPS audio URLs. Private RSS feeds, DRM-protected content, and Spotify URLs must not be supported.
Retrieve the audio file directly from the provider or forward the audio stream to the speaker. No permanent storage, transcoding, caching, or self-hosting of audio content.
Provide clearly defined metadata in the playback status, including episode title, podcast name, cover artwork, duration, and source type PODCAST (or equivalent).
Completely replace previous metadata and cover artwork when switching between podcast episodes.
Return clear, machine-readable errors for invalid URLs, unreachable hosts, expired URLs, and unsupported audio formats.
Verify support for MP3 and AAC/M4A as the minimum supported audio formats.
Support Pause, Resume, and Stop. Playback position reporting and seeking should only be exposed when reliably supported by both the hardware and the audio source (e.g., HTTP Range request support).
Keep all existing radio, Spotify, queue, and preset playback paths unchanged.
Why would it help you?
mplementing a dedicated podcast playback path would not only support the further development of STR-Reborn but also give Android and iOS app developers the opportunity to introduce additional features, such as podcast search, episode selection, and playback, without requiring STR-Reborn itself to handle the entire podcast functionality.
All reactions