radieo/ingest
Pierre-Olivier Mercier 80f27d2795 stream: fallback only replays already-aired tracks
The fallback played the whole /cache directory, which at cold start holds
only the 2-3 tracks being pre-fetched — so it looped them until the
request.dynamic buffer filled. Restrict the fallback to tracks already
aired: the ingest daemon exposes them at GET /fallback.m3u (played_at set,
still on disk), and the stream fetches that into a local /tmp/fallback.m3u
that playlist watches. Cold start is now silent (assumed) instead of a tight
loop, and a mid-stream drain degrades across the whole listening history.

A local file (not a remote playlist URL) is used to avoid Liquidsoap's http
resolver mis-sniffing the response as text/html; mime_type is forced so an
empty header-only m3u still parses.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 10:15:25 +08:00
..
radieo stream: fallback only replays already-aired tracks 2026-07-03 10:15:25 +08:00
Dockerfile Milestone 3: Navidrome (OpenSubsonic) playback provider 2026-07-02 17:57:38 +08:00
requirements.txt Milestone 4: yt-dlp provider and weighted source scheduler 2026-07-02 17:58:24 +08:00