Group channels
Design agreed 2026-10-02; built the same day. Where building it settled something the design left open, it's noted under Settled while building. It follows iptv-channels.md and sport-channels.md.
A group channel is one number on the dial that holds several channels: HBO 1–5 on 400, the Plex Live channels you watch, tonight's games. Tuning to it opens a small guide of just its members, laid out like the old Prevue Channel: the picture up top, the rows below. Up/down picks one; Select watches it.
Sport channels already step through what's on with up/down, but blind. This gives them, and any group you build, something to look at while choosing.
The model #
- A group has a name, a number, and its members in the order you set.
A member is any channel on the station, by its id (
xtream-45549, a Plex Live channel, a Pluto one), so one group can mix sources ("News": BBC 1 from IPTV, CNN from Pluto, a local station from Plex Live). - You build them, in the Manager or over MCP. There's a shortcut for the common case: "group all of Plex Live" (or every channel from one source or matching a name) in one go, which you then trim.
- A channel can be in several groups. NESN can be in "Boston" and "Sports".
- Sport channels are groups whose members are what their entries have on: each folder's games, and their always-on streams. Nothing about how their games are found changes.
Off the dial #
- A member keeps its own number unless you take it off the dial. Off the dial it's gone from the dial (and the main guide) but it still plays inside its groups. So HBO 2 can live only in the HBO group, and the 40 Plex Live channels you don't watch never need adding at all.
- It's separate from removing: removing an added channel forgets it (and so takes it out of its groups); off the dial keeps it. Its number is freed, and putting it back on gives it the next one.
- A game is never on the dial on its own.
The group's view #
Laid out like the Prevue Channel, in the TV Guide's style (GuideChannelView):
┌──────────────┬───────────────────────────────────────┐
│ 400 │ │
│ HBO │ live: the highlighted channel │
│ 8:06 PM │ │
├────┬─────────┴───────┬─────────────┬─────────────────┤
│ CH │ 8:00 PM │ 8:30 PM │ 9:00 PM │
├────┼─────────────────┴─────────────┼─────────────────┤
│HBO │ Dune: Part Two │ The Penguin │
│HBO2│ Curb │ Real Time │ │ ← highlighted
│COM │ Curb │ Barry │ Veep │
└────┴────────────────────────────────┴─────────────────┘
- The top half plays the highlighted member, live, with sound. The left of it keeps the group's number, name and the clock.
- The rows depend on what's in the group:
- Channels (HBO, Plex): a row per member with its half-hour listings, as the TV Guide.
- Games (sport channels): a row per game, no time columns, since games don't line up on half hours: the teams, the score or start time, and the login it plays from. Games on now first, then what's coming up. An always-on stream is a row with its listing.
- Landing on it: the highlight starts on the member you last watched in this group if it's still on, else the first one on in your order.
- Between games, a sport group shows what's coming up in its rows (and the picture is the "Next: …" card), where today it shows only the card.
The remote #
- Up/down moves the highlight; the picture follows it.
- Select watches the highlighted member full screen.
- Full screen: up/down steps through the group without the grid, as sport channels do today. Back (Menu) returns to the group's view.
- Back from the group's view does what Back does on any channel.
- Left/right in a group's guide move through time: right looks half an hour further ahead (up to 12 hours), left comes back, and left at now changes channel down as anywhere else. The picture keeps playing what's on now. Sport guides have no timeline, so there left/right change channel. Full screen, they change channel as usual; the number pad always does.
The main TV Guide #
- One row per group, showing what tuning in would play: the listings of the member you'd land on (as sport channels' rows do now). Hidden members have no rows.
Manager #
- A Groups editor: name, number, members (add from the dial or search, drag to order, take off), and per member an "On the dial" switch.
- The "group all of Plex Live" shortcut.
- Sport channels are edited as now; their view changes on its own.
MCP tools #
list_groups,add_group(name, channels in order, optional number, andoff_dialto take its channels off the dial too),set_group(name, and the whole channel list in order), withrename_channel/renumber_channelas for any channel andremove_channelfor the group itself.set_on_dialfor a channel's place on the dial. It won't take a channel off that's in no group, since it couldn't be watched.get_channelon a group lists its channels and which are off the dial; on any other channel, the groups it's in.list_channelstakesinclude_off_dial.
Settled #
- The picture waits for the highlight to rest (about a second) before switching, so stepping past rows doesn't open a stream for each one.
- Off the dial is set in the Manager (and over MCP) and syncs to every screen with the rest of the lineup.
- Groups can't hold groups.
- Select in the group's view watches the lit member full screen. Select while watching opens that member's own Select menu (its Feed page, Earlier Shows), as if you were on its number.
Settled while building #
-
The kind:
ChannelKind.group(ChannelGroup).ChannelGroup(idgroup-…, name, member ids) is in RetroLineup with the landing rule, tested. Groups are saved underchannelGroups; channels off the dial underoffDialChannels(OffDialChannels, notHiddenChannels, which is the removed list). Both sync. What you last watched in each group is kept on the device (GroupMemory). -
StationModel.playingis what's on screen: the member on a group, else the channel. The Select menu, replays, buffers and the sound follow it. -
The remote: on this station left/right change channel and up/down step within one, so up/down moves the lit row. The picture follows after 0.9 s (
groupRest). Back on tvOS is only claimed while a member is full screen. -
One player throughout: the picture is laid over the guide's box scaled down (
inGroupFrame), so Select grows it to full screen without starting the stream again. -
Game rows show "ON NOW" or the start time, the title, and the broadcast with its feed count. Scores aren't tracked anywhere yet, so there are none, and the login is on the Feed page. Up to 12 coming up are listed.
-
A sport channel lands on its first game on now, as before: games come and go, so there's no last-watched for them.
-
Any IPTV channel with more than one entry gets the guide view, not only ones with games; a single-stream channel (BBC 1) plays as before.
-
The main guide's row for a group is the listings of the member you'd land on: the last watched, else the first with listings.
-
Loading: on a group or sport channel the picture shows the green phosphor tuner, searching, until the stream comes in (
TuningIn). With the Tuner picked for changing channels, every channel does. -
A group's listings are fetched when it's tuned (
GuideStore.loadListings), not left to the whole guide's refresh.
Build order #
- The model and storage: groups, members, hiding, with tests.
- The group's view on the Apple TV and Mac, rows for channels.
- Rows for games, and sport channels switched to the view.
- The remote: full screen, Back to the view, the landing rule.
- The main guide's row.
- The Manager editor and shortcut, then the MCP tools and docs/mcp.md.
Phin Tech docs
Rabbit Ears Manager in the store →