Found by the on-TV playtest matrix: no test clip states its frame rate, refilling after a seek counted as a stall (would stop the overnight comparison after three tunes), and DivX 3 AVIs played as sound alone. Third matrix run: every case as intended, including 23.976/24/50 Hz switching and the TV returning to 59.94. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 KiB
0.123.0 (versionCode 315): verification, install procedure, playback tests and Taste Stage 2 (9 November 2026)
Nothing here has been run on a TV except the dry run in section 2. Installing, and the full-library comparison, each wait for Paul's separate approval.
1. Verification
- Both TVs run exactly 0.122.1-smooth-row (314): the installed APK's SHA-256 matches
apks/orbit-tv-0.122.1-smooth-row.apkon both TVs (2e46017d…). - 0.123.0 is built on top of it: the commit 0.122.1 was built from (classics-modes
7b4e82a) is in 0.123.0's history. Nothing was deleted, and nothing was reverted. - APK contents: the same 585 files as 0.122.1. Every image, sound, font, resource and asset is byte-identical. Only the code differs, in one of its three dex files. The manifest is identical apart from the version: the same activities, services, receivers and permissions.
- Code: every class in 0.122.1 is in 0.123.0. The only differences are three compiler-numbered lambdas that were renumbered. Added: PlayerSwitches, FrameRateMatch, DisplayModeInfo and PlaybackHealth, plus the comparison's new safeguards.
- Release gate:
tools/verify.shpassed. It ran the build, 1,120 unit tests with no failures (including the shared provider contract suite) and lint with no errors. The install checker's own tests and the live Silo contract test passed too. - Signing: the same certificate as 0.122.1 (SHA-256 042f9637…).
- What changes for the household: nothing until a switch is turned on. Frame-rate matching and AVI both start off, and the comparison only runs when asked from adb.
2. Install procedure (downstairs first)
One command does every step, and stops at the first one that fails:
tools/install-tv.sh 192.168.0.252:5555 0.123.0-player downstairs
- Refuses if the APK's checksum is wrong, or if Orbit is playing something. Orbit was playing during the dry run, and it refused correctly once fixed: the first dry run found this check wasn't working, and it's fixed.
- Pulls the installed APK as a rollback copy and checks it against
apks/. - Takes a before snapshot of the household's data (bookings, history, Taste, profiles, Continue watching, schedules)
and pulls it to
backups/. - Sets the schedules aside on the TV, installs, compiles for speed and reopens Orbit.
- Checks the version is now 0.123.0 and only one copy of Orbit is running.
- Takes an after snapshot and compares it: no files missing, nothing the household owns changed, no booking lost and no planned programme changed. Exit 0 only when all of that holds.
Dry run, 9 November 14:22 (DRY_RUN=1, steps 1 to 3 only, nothing installed): the rollback copy was verified.
The snapshot had 290 files, 2,370 bookings and 12,192 planned programmes, and comparing it with itself gave UNCHANGED.
3. After installing
- Smoke test: Home, the guide, tuning two channels, Catch Up, the Companion, the Arcade and a profile switch.
- Switches:
adb logcat -s OrbitPlayermust show no switch turned on. - Observation: a normal evening's viewing downstairs. Upstairs follows only after that, by the same command with
192.168.0.195:5555 0.123.0-player upstairs.
4. If something is wrong
Android 14 won't install an older version over a newer one. So the way back is the restore command
(tools/restore-tv.sh, rehearsed on 8 November) with the before snapshot, or a fixed 0.123.x.
5. The full-library comparison (separate approval)
This only runs after 0.123.0 is installed downstairs and Paul approves it.
Start:
adb shell am start -n tv.orbit.classic/.MainActivity --ei orbit_shadow_catalogue 0
Pacing:
- At least 1.5 s between pages, and 5 s while a programme plays.
- Never faster than the server answers.
Stops by itself when:
- a failed page fails again after a 30 s retry;
- Orbit closes;
- playback stalls 3 times;
- memory passes 80%;
- the server takes over 20 s per page 3 times running.
Stop:
adb shell am start -n tv.orbit.classic/.MainActivity --ez orbit_shadow_catalogue_stop true
Resume:
adb shell am start -n tv.orbit.classic/.MainActivity --el orbit_shadow_from <positionReached> --ei orbit_shadow_catalogue 0
Report: shadow-catalogue/report.json is rewritten every 25 pages.
- It contains
stopped(the reason it stopped),error,retries,positionReached, the timings and peak memory. - It never writes the catalogue:
wroteCatalogueis always false. - A resumed run keeps the earlier report beside its own.
6. Playback test build (approved 9 November; built, not installed)
- A separate app:
apks/orbit-playtest-0.123.0.apk, packagetv.orbit.classic.playtest.- It has its own data folder, so it can't read or change Orbit's schedules, Taste or Continue watching.
- Orbit's screens are switched off in it: no channels, Companion or Rooms.
- It has no launcher icon. The only way in is adb.
- Not in the release build: the test player is in no other build.
tools/verify.shnow fails if it, or its list of approved files, ever appears in the release APK. Checked: the 0.123.0 release APK has neither. - Approved files only: it plays only the ten clips in
player-test-media/, each checked by SHA-256 against the list built into the app. It plays them through Orbit's own player set-up, container rule and frame-rate matcher. - The two switches stay separate: each run turns on only the switch it's testing, for that run only. Orbit's own switches are untouched.
- Each run follows the same script:
- Plays from the start.
- Seeks to 40 s, as tuning in mid-programme does.
- Stops and reopens at the same point, to test recovery.
- Retries once if a playback error happens.
- Ends, and puts the display mode back.
- What each run records:
- the container decision;
- the video and audio formats, and whether the TV has a decoder for each (the unsupported-codec case);
- the frame rate;
- the display mode before, during and after;
- the first-frame time, stalls, errors and recovery time.
- The matrix:
tools/playtest-run.sh <tv>runs it.- The six frame-rate clips, with matching off and then on.
- The four AVIs (XviD with MP3, DivX 5 with AC3, H.264 with MP3, DivX 3 with MP3), with AVI off and then on.
- That's 20 runs of about 35 s each. The results go to
audits/playtest-<date>/. - Run it only when the TV is free: the test app comes to the front, so Orbit pauses while it plays.
- DivX 3 is expected to show the unsupported-codec path. Orbit currently treats DivX 3 as MPEG-4, which is probably wrong; the test will show whether it is.
- Needs your approval: installing the playtest app on a TV.
7. Taste Stage 2 (branch taste-stage2; not built into 0.123.0, not installed)
Findings from your real data (57 events, 7 to 9 November)
- 32 events come from the night before the two-copies fix (Saturday 23:09 to Sunday 08:49; the fix went in on
8 November at 09:17).
- Brief visits repeat exactly every ten minutes on the same programme, with 0 minutes watched. That's two copies of Orbit taking turns, and the ten-minute duplicate rule letting one through each time.
- 7 of that night's 9 "finished" signals had 0 minutes watched.
- Since the fix, there are 25 events, with no repeats.
- 7 "finished": 3 genuine (58, 73 and 23 minutes watched), 1 a pure tune-in at the end (Doctor Who, 0 minutes), and 3 part-watched (8.5, 11.5 and 14 minutes).
- So "finished" today only means the programme reached its last five minutes while on screen.
Repeats
After the fix, every repeat disappeared, so they were the bug, not real viewing. Stage 2 counts a signal once per airing. Watching the same title on another airing or another day is a separate viewing, and counts again.
Profile attribution
- All 57 events were recorded under Paul. The current profile on both TVs is Paul.
- Amelia (Kids) has none by design: Personalise starts off for Kids.
- Cheryl has none: her Personalise is on by default, so the TV was never on her profile while something played.
- Some of "Paul's" viewing may be Cheryl's or shared. Nothing should be concluded about anyone's taste until you've confirmed who watched.
What Stage 2 changes
- Real watching is recorded: every watching signal now records the programme's length, the share watched and which airing it was.
- Finished means watched: "finished" needs at least half of the programme before its last five minutes. Less than that is recorded as the new caught-end, with no weight.
- Stage 1 events are kept exactly as they are, and never rewritten.
- When they're read, events from before the fix count nothing.
- An old "finished" counts by its minutes: under 5 counts nothing, under 20 counts as a stay.
- Your Stage 1 total weight was 42. Read this way, it's 18.
- Tests: release gate passed, with 1,126 tests (6 new ones for these rules).
- Caution for installing: while the two TVs run different versions, Rooms sync on the older TV drops the new caught-end events and fields it doesn't recognise. So Stage 2 should go onto both TVs close together.
8. Results (9 November afternoon)
- Recovery rehearsal (test app, downstairs). Going back to an older version was refused with
INSTALL_FAILED_VERSION_DOWNGRADE, and nothing changed. The fix-forward (version 390) then installed over it: the install date and the data file were identical afterwards. The Orbit fix-forward isapks/orbit-tv-0.122.1-fixforward.apk: 0.122.1's exact code at version 390. - 0.123.0 installed downstairs at 15:28 (tools/install-tv.sh). The comparison came back UNCHANGED:
2,370 bookings kept and 17 added, and 12,083 planned programmes unchanged.
- Smoke test passed: Home, guide, tuning a channel, Catch Up, Arcade and Companion.
- All switches off. One copy of Orbit running, and no crashes.
- First AVI and frame-rate test run: it found three problems, all in code that's switched off or in the test app.
- None of the clips states its frame rate, so matching never switched.
- Refilling after a seek counted as a stall. This affects tonight: the comparison would have stopped after three channel tunes.
- DivX 3 played as sound with no picture.
- 0.123.1 (versionCode 316) fixes all three:
- The frame rate is measured from about five seconds of frames, and snapped to the standard rates.
- Buffering within 5 s of a seek isn't a stall.
- An AVI with no picture track, or Microsoft MPEG-4 / DivX 3, is unplayable and skipped.
- Third test run, all as intended (
audits/playtest-20261109-1617/):- 23.976 switched the TV to 23.976 Hz, 24 to 24 Hz, and 25 and 50 to 50 Hz. 29.97 and 59.94 stayed at 59.94, which already fits. With the switch off, nothing changed. The TV always went back to 59.94 afterwards.
- Each AVI was refused with the switch off. With it on, XviD+MP3, DivX 5+AC3 and H.264+MP3 played and recovered after reopening, and DivX 3 was reported unplayable.
- No stalls. No errors. Reopening recovered within 0.2 to 1.2 s.