Phin Tech docs Rabbit Ears Manager in the store →

Video Store: On Demand as a store you walk through, with covers

Design agreed 2026-10-06. Nothing here is built yet.

On Demand (api/README.md; historical design in history/vod-relay.md) is a text menu: source, category, title. Video Store is a second channel over the same catalog that looks like a rental shop: aisle signs at the door, shelves of covers inside. On Demand stays as it is.

Decisions #

  1. Its own channel, with its own number, built as a channel module (docs/channel-modules.md). Search stays: the first sign at the door is Search, the existing letter grid and Keyboard key, with matches shown as a shelf of covers.
  2. Aisles, then shelves. The entrance is a row of retro aisle signs (New Releases, Action, Comedy, Kids, Series...). An aisle is stacked shelves, one per sub-category, each sliding left and right. Up and down move between shelves; "see all" on a shelf opens the whole category as a wall of covers.
  3. Aisles come from Jev's tags, and the layout is data. Defaults: aisles from the kinds/genres Jev tagged on each category (already in OnDemandSettings), shelves from the provider categories inside them. The layout is a stored document, edited in the Manager (rename, reorder, merge, hide aisles; move shelves between them) and served by the relay, so the Apple TV draws whatever it is given. Adult never appears (as in history/vod-relay.md #6).
  4. The relay's Mac fetches and caches covers. From the copy's poster URL (Plex thumb for Plex copies, TMDB as a fallback by TMDB id), shrunk to a small cover and kept on disk. Screens ask GET /v1/vod/titles/<id>/poster (already in the protocol, not yet built). Screens never load provider image hosts. Without a relay there is no Video Store (On Demand's text list is still there).
  5. A title with no cover is a dubbed tape. A black sleeve with a brand stripe (invented brands, one per title), a T-120 strip, and the title in pen on a paper label with a note ("TAPED OFF TV", "DO NOT TAPE OVER"). It looks like a copy somebody made, so a shelf of missing art still looks full and on purpose. Stickers (rewind, staff pick, 2 nights...) go on any case, picked from the title's id so they stay put.
  6. Shelves are shuffled by day, then by visit.
    • Overnight the relay builds each shelf's pool for the day: about 40 titles drawn at random, new additions favored, and warms every cover in it. A shelf is never cold.
    • Each visit the screen takes the visible handful from the pool using its own watch history (OnDemandResume): started titles first ("continue renting"), finished ones sunk or hidden, the rest reshuffled. Watch history stays on each screen; the relay never sees it.
    • "See all" is the full category, ordered, never shuffled.
  7. Select on a cover opens a detail card. The cover big beside the title, year, plot and the copy line (3 copies · 4K · Plex). Select plays the best copy (built: Select on the held case plays it, ◀ ▶ turns it over); a second key picks a copy (the existing copy chooser, not built). A series opens its seasons and episodes.
  8. It looks like a 90s rental shop, skeuomorphic. You face the shelves front-on, like standing at the end of an aisle: wire and laminate shelves with a lip, carpet-blue and fluorescent-yellow signage, hanging plastic-letter aisle signs. Our own look, not a real chain's branding.
    • Two cases, as in a real store. New releases sit in black rental clamshells (cover in the front, spine sticker down the side); everything else is in cardboard sleeves with a "BE KIND, REWIND" sticker. "New" uses the same rule as the shelf weighting.
    • Select pulls the case off the shelf (spring lift and scale, carried to the detail card with matchedGeometryEffect) and holds it up; a key turns it over to read the plot on the back (rotation3DEffect). Menu puts it back.
    • Drawn in code, the case chrome rendered once to a cached image per case type, so a shelf of covers stays smooth on an older Apple TV.

Protocol additions (version 1) #

Request Answer
GET /v1/vod/store Today's layout: aisles, shelves, each shelf's pool of title ids. Not built.
GET /v1/vod/details/<tmdb> A movie's plot, genres, director, cast, runtime, trailer and backdrop, from the SQLite store. Built.
GET /v1/vod/poster/<file>?w=342 A poster as HEIC, from the relay's disk. file is a TMDB image's own name; w is 185, 342 or 500. Built.
GET /v1/vod/subtitles?name=&lang= A title's subtitles from OpenSubtitles, as timed lines; also tmdb, year, and season with episode. Not found when there are none or the relay has no key. Built.

The layout is edited through the Manager's admin routes and persisted with the catalog.

Built: the store and the posters (2026-10-07) #

Built: settings, your place, and the player (2026-10-08) #

Open #