fix(home): Find the pool's live games list under its new name, Live Sports #39

Merged
namillis merged 1 commit from fix/live-sports-name into main 2026-11-10 02:43:15 +00:00
Owner

What was wrong

On 2026-11-06 the pool renamed its Live Now category to Live Sports (same category id, 187) and added Popular on TV before it. The app finds that list by the name "Live Now" (HomeLists.isLiveNow), so since then:

  • Home showed Live Sports as an ordinary category: no live dot, not first in the list menu, and not the default list.
  • Sports never found the pool's event channels, so a live game's Watch option fell back to a channel matched by name instead of the pool's event channel. The event channel fails over between providers; the name match doesn't.

I found this while testing #38. Nothing failed loudly; the lists just lost their special treatment.

What changed

  • HomeLists.kt: isLiveNow also accepts "Live Sports", but only when the provider is the pool (its pool_info lists event_info). Plain panels use that name for ordinary channels, so for them nothing changes.
  • HomeViewModel.kt and SportsViewModel.kt pass that check in.
  • HomeListsTest.kt covers both names, the pool-only rule, and that Popular on TV and Sports don't match.

Verified

  • testDebugUnitTest (630 tests), lintDebug and assembleDebug pass.
  • LiveWireTV_API34 emulator with the tv3 login, temporary logging (removed), same session and data for both builds:
    main This branch
    Home's live list none found Live Sports, 81 games
    List Home shows Popular on TV Live Sports, first, with the live dot
    Sports, Bills @ Vikings (live) Watch on "US - ESPN" Watch on "Live Now" (the pool's event channel)

Not changed

Popular on TV also carries pool_events, and its rows already show the event titles. It stays an ordinary category, as the app has no special list for TV events.

## What was wrong On 2026-11-06 the pool renamed its Live Now category to **Live Sports** (same category id, `187`) and added Popular on TV before it. The app finds that list by the name "Live Now" (`HomeLists.isLiveNow`), so since then: - **Home** showed Live Sports as an ordinary category: no live dot, not first in the list menu, and not the default list. - **Sports** never found the pool's event channels, so a live game's Watch option fell back to a channel matched by name instead of the pool's event channel. The event channel fails over between providers; the name match doesn't. I found this while testing #38. Nothing failed loudly; the lists just lost their special treatment. ## What changed - `HomeLists.kt`: `isLiveNow` also accepts "Live Sports", but only when the provider is the pool (its `pool_info` lists `event_info`). Plain panels use that name for ordinary channels, so for them nothing changes. - `HomeViewModel.kt` and `SportsViewModel.kt` pass that check in. - `HomeListsTest.kt` covers both names, the pool-only rule, and that Popular on TV and Sports don't match. ## Verified - `testDebugUnitTest` (630 tests), `lintDebug` and `assembleDebug` pass. - LiveWireTV_API34 emulator with the tv3 login, temporary logging (removed), same session and data for both builds: | | `main` | This branch | |---|---|---| | Home's live list | none found | Live Sports, 81 games | | List Home shows | Popular on TV | Live Sports, first, with the live dot | | Sports, Bills @ Vikings (live) | Watch on "US - ESPN" | Watch on "Live Now" (the pool's event channel) | ## Not changed Popular on TV also carries `pool_event`s, and its rows already show the event titles. It stays an ordinary category, as the app has no special list for TV events.
fix(home): Find the pool's live games list under its new name, Live Sports
All checks were successful
CI / test (pull_request) Successful in 6m28s
943edd3344
On 2026-11-06 the pool renamed its Live Now category to Live Sports
(same category id) and added Popular on TV before it. The app found
the list by the name "Live Now", so since then:

- Home showed Live Sports as an ordinary category: no live dot, not
  first in the list menu, and not the default list.
- Sports never found the pool's event channels, so a live game's Watch
  option fell back to a channel matched by name (for example US - ESPN)
  instead of the event channel, which fails over between providers.

HomeLists.isLiveNow now also accepts "Live Sports", but only for a
provider whose pool_info lists event_info: plain panels use that name
for ordinary channels.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
namillis/LiveWireTV!39
No description provided.