TheTVapp's links are never tried: checks, standbys and recoveries use only a game's first source #128
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#128
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?
What happens
Every game gets a Sportsurge link first, and TheTVapp's link is added after it. The background checks, the standby searches, recoveries, the Ready rule and the media servers' channel list all use only a game's first source. So TheTVapp's link is never read. Only a click on the Games page can reach it.
Women's college basketball is worse off. Sportsurge's NCAAB section is men's only, so a women's game's first source always answers "the site's list does not carry this game" (in 0.0 s). The check never moves on to TheTVapp, which does list some women's games (see #127).
Evidence (2026-11-08)
/api/sourceslists none of its player hosts.Cause
prewarm._first_kind(sources[0]) keys every scheduled read.resolution.is_ready,recently_readyandmeasured_labelusesources[0]too, and so does the channel URL infeed.py. This is not a regression: it has worked this way since #87.Fix (owner's choice: full fallback)
A game's first-source ladder holds the links of every source the game lists, and each link is read through its own source's adapter. Checks, standbys and recoveries then reach TheTVapp when Sportsurge doesn't list the game or its links fail. TheTVapp's stream also counts as a different stream when the app picks a standby. Picking a source on the Games page still means that source alone.
Fixed in PR #129, merged as
b095bc3. Deployed 2026-11-09 02:18Z from refs/heads/main (container 34fbb72ee56f, about 100 s down, nobody watching, no log errors); archived in2120e13.any). Checks, standby searches, renewals, recoveries, the Ready rule and the media servers' channels (?s=any) all use it. So when Sportsurge doesn't list a game, or its links fail, the same walk reaches TheTVapp's link. A source picked on the Games page still means that source alone.Seen live after the deploy: a requested check of tonight's USC vs. Utah State (women's; Sportsurge does not list it) found its stream on thetvapp.plus, link 1 of 2, verified at 1280×720 30 fps, and the game went Ready (02:24Z). The feed's 20 channels are on ?s=any, and the Game lists row reads sportsurge, thetvapp and watchsports. Not seen live yet: a recovery or a standby crossing sources, and a watchsports link verifying in production.