tracker
All repositories: gitoria
3.0 KB
# w052-tvmaze — tracker #15 TVmaze merge (mission 008 (old 052))**Branch** t15-tvmaze in loreana:/media/STORAGE/projects/tracker-wt15. Not pushed or merged.- 34f2c15 tracker#15: TVmaze merge in the sync (gaps only: new episodes/seasons, empty titles/air dates; numbering check), fake TVmaze episodes + gate- 71b4634 tracker#15: numbering check by date or title, placeholder titles in other languages, docs + real-data proof**What it does** (`tmdbsync.hl` `mergeTvmaze`, `numberingAgrees`, `isPlaceholderTitle`)- After the TMDB step, a series with a tvmzId gets `GET /shows/<id>/episodes` (1 request, 550 ms pause).- Episodes are matched by S/E number. Missing episodes and seasons are added. Empty or placeholder titles ("Episode 4", "Épisode 4", "TBA") and empty air dates are filled.- A TMDB value is never overwritten. TMDB's own placeholder title no longer overwrites a real one.- When TMDB lists an episode later, the TMDB step adopts TVmaze's row by number and TMDB's values win.- Numbering check: if fewer than 80 % of the shared episodes air within a day of each other or share the title, TVmaze is ignored for that show.**Gate** (111 → 117, fake TVmaze episode lists):`TRACKER_GATE_SHOTS=/tmp/w052-tvmaze/shots TRACKER_GATE_PORT=8732 TRACKER_GATE_IDENT_PORT=8733 TRACKER_GATE_CHROME=8734-8737 TRACKER_GATE_TMDB_PORT=8738 node tests/browser.mjs`→ `117 passed, 0 failed`.**Real data** (copy, deleted afterwards; 126 shows; real TMDB + TVmaze):- Run 1: tvmazeRequests=126, tvmazeFilled=21, tvmazeSkipped=7, tvmazeEpisodes=0, errors=0, 179 s.- Run 2: 8 Greek Salad titles reverted to TMDB's "Episode n" (the placeholder rule was extended between runs). Run 3: all 0, so it is idempotent.- Filled: Rings of Power S3E1–8 real titles (TMDB had "Episode n"; airs 2026-11; now in /my/schedule) and Last Week Tonight 8x26–30.- Skipped, checked by hand and correct: Daily Show (TVmaze numbers seasons by year; it would have added 1093 bogus episodes), Prodigy and Blood & Treasure (numbering shifted), Alex Rider, Intergalactic and The Rising (different premiere dates).- Load times (390 / 1280 px): /my/shows 1.51 / 0.26 s, /my/unwatched 1.46 / 1.41 s, /my/schedule 0.36 / 0.29 s, show page 0.13 / 0.13 s. 0 console problems.- Screenshots: loreana:/tmp/w052-tvmaze/real/ and /tmp/w052-tvmaze/shots/ (looked at).**Merge notes**- Files touched: tmdbsync.hl, tools/sync-tmdb.hl, tests/browser.mjs (new block after the in-app run check, plus count changes in the sync checks), tests/faketmdb.mjs, tests/realdata-check.mjs (env-configurable), README.md, STATUS.md (entry on top).- #13 is likely to touch README, STATUS and tests/browser.mjs too. No changes to styles.hl, project.hl or components.**Open**- No episode was TVmaze-only on real data that day, so the add path is proven by the gate only.- The daily run takes about 70 s longer.- Shows the numbering check skips get no TVmaze help.- The shared /tmp/w052/real dir with w052-search did no damage (confirmed by w052-search); my files are in /tmp/w052-tvmaze.**Hybriel**: no new issues. Hashes have `.keys()`; there is no `Object.keys`.
Branches
Latest commits
- 498bf644log: CB gates startmre
- 6ea2c6d6log: morning re-measure 11-04mre
- 446290f0log: GC1 livemre
- 8e6aa91dlog: GC1 deploy retrymre
- 87ad2dc1log: GC1 deployingmre
- 53f10fb8Merge branch 'gc1-deploy'mre
- 7fcbf1d2log: GC1 deploy GOmre
- 1fb6664bcompose: TRACKER_QSTATS=1 (GC1 measurement)mre
- 6576c1cdgc1: release the people-view scan lists once the view is builtmre
- 94f8a373gc1: back out the kept episode-id set (no measurable gain on /my/unwatched: 4.69 -> 4.61 GB per 150 loads)mre
- a1a88bd4gc1: search skips the stale-key string while no entry is stale; /my/unwatched asks a kept id set instead of building a key string per episode rowmre
- cd830744gc1: dbSearch: no split / map / list copy per candidate (scores from the stored text, top list touched only when the hit can enter)mre
- 451db7cdgc1: show page and check clicks read the kept watched set instead of building one from a by-value copy of every watchmre
- ddb4127egc1: TRACKER_QSTATS=1 logs queue and cache sizes every 10 s (measurement only)mre
- da60547fstatus: GC1 done, backup bugmre
- e4171021log: GC1 result, backup hard-link bugmre
- f1597214deploy.sh backup: tar --hard-dereference (hot tar stored mpackdb sidecars as hard links to .sessions files)mre
- 6b58571elog: GC windowmre
- 5c8baa1fdeploy lock: hold only around deploy.shmre
- b8dac822log: hybriel#309mre