Admin: a settings gear, and a head start behind live for every tune #117
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cmoriarty/sports-breaker#117
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?
The owner wants a newly watched channel to start further behind live, as a setting. The Admin page should get a settings gear that opens a settings pane.
What happens
The buffer today (#53, deepened by #97):
CHANNEL_BUFFER_SEGMENTSdeep, 2 segments by default (4–8 s). The watch raises it to as much as 30 s for a bursty source. That is only an env var; there is no setting in the app.depthsegments held, and the rest of the source's backlog is released at once ("a player starts near the edge, so the backlog buys no time").The tune:
Freezes with the buffer above zero: the owner sees skips and freezes while the card's buffer reads above zero. Possible reasons, each to confirm:
The idea
EXT-X-STARTdepends on the player.settings.json(#100) and applied to the next tune.Done when
PUT /api/settings/playbackrefuses values outside 0–60.Owner's decision (2026-11-08): the head start defaults to 15 s.
Owner's decision (2026-11-08): a cold tune always waits for the full head start (15 s by default), with no limit on the extra wait.
Why it matters little: Emby's lineup is every Ready game, but up to the background count (1–10, already a setting) of followed live games are kept warm. So a cold tune from Emby happens only:
The web app's tunes are for testing.
Implementation note: while it waits, the channel must still answer the media server's playlist polls (filler or the loading card), or Emby's reader may give up.
Closing: merged to develop in PR #119 (merge
73f86a3), milestone 39. It deploys once nobody is watching.What changed:
Not seen live yet: a tune with the head start in hand, and a cold tune's card.
Deployed 2026-11-08 17:27:26Z: commit
73f86a3, container a07efdae03b6, 36.6 s down, no errors in the log. Live: the head start is 15 s. Man Utd vs. Aston Villa's background channel, nobody watching, held 16 s of its 16 s target (8 segments) and stayed Healthy.