Files
OrbitTv/docs/VERIFICATION-0.90.0.md
T
pauljdandClaude Opus 5.5 81a5c61932
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 1m47s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 1m28s
0.90.0: film matching by identity (title, year, IMDb ID), with a baseline of every ambiguous film
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-03 14:12:36 +00:00

3.0 KiB

Orbit TV 0.90.0: film matching by identity

A separate change from 0.89.0. No scheduler change: the film planner, rest periods and day parts are untouched.

What changed

  • A list entry can name its year, as "Halloween (1978)". FilmIdentity.kt holds the film meant (title, year, and the IMDb ID where two films share a title and year), kept apart from the copy that plays.
  • The search reads up to 200 results in pages of 50, and narrows by year (one either side) when the list gives one. It used to read only the first 10.
  • Resolution: the IMDb ID settles it; otherwise the year; a year out by one counts only when no other film is near. A title with no year is taken only when the library has one film of that name. Several copies of the same film are fine, and the first this box can play is used.
  • Never a substitute. If the intended film isn't in the library, is ambiguous or can't be played here, the channel goes without it and plans its other films. The reason goes to the log (OrbitSchedule, "film=...").
  • A film channel's old line-up keeps its films, except an earlier copy of a title the list now names, so a remake from the old line-up doesn't linger.

Baseline

239 list entries share their title with another film in the library (read-only copy of the box's catalogue, 3 November 2026). Each now names the intended year; 237 IMDb IDs recorded, 11 of them needed because two films share the title and year (The Descent, The Guard, Pocahontas, The Hunchback of Notre Dame, Hercules, Contact, The Purge, Talk to Me, The Strangers, Ghost, Emma). Before this change, 60 of those entries played a different film on the box; [REC] (2007) wasn't in its pool at all. The table is app/src/test/resources/film-matching-baseline.json, and FilmMatchingTest checks every entry resolves to its intended film and IMDb ID.

Other tests: remakes, unplayable originals (no substitute), titles without a year, two films with the same name and year, other copies of one film, a year out by one, a film missing from the library, and a search that only finds the film on its third page.

Not verified here: whether each corrected film's file plays on this box. That shows on the first run after install, in the log.

Replay

Four weeks of hourly top-ups from the box's real files for all smart channels, with the 60 corrected films swapped into the film pools, against the same run with today's films.

  • Every corrected film airs. No gaps, no fallbacks added, committed plans unchanged, and no film on two channels at once.
  • Horror improves: with one more film in its pool it now keeps its 7-day rest (293 showings inside the rest before, 0 after).
  • Found, not caused by this change: After Dark, VHS, Detour, BritX, Wonder and PixelZ can't keep their 7-day rest, because their lists run out before the week does, so the film that has waited longest returns early (about 290 to 370 showings in four weeks). The same today. Longer lists or a shorter rest would fix it; that's a separate decision.

Unit tests: 344 passed. Lint passed. Not installed.