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
- 8d3b0f20widget: the franchise link's 44 px tap area no longer overlaps the Prequel/Sequel rowmre
- 1d98dcfdbrowser gate: the badges' size check reads the padding box (the 44 px tap area is transparent border)mre
- 2f9e29ffreports/MK-mobile.md, deploy.sh GATES: tests/mobile.mjs, theme check markermre
- 7cfc8ab5a season of more than 150 episodes starts closed on its title page; the phone gate checks itmre
- 59095c59tests/mobile.mjs: the phone gate (390 px touch, tap targets, /franchises paging)mre
- 105309detap targets: every row link, the TMDB/IMDb badges, the widget links, the franchise names and the login-failed link are 44 px high on a phonemre
- f0b86c8efranchises: 40 loose timelines per page (/franchises/page/N) and a merge sort for the names (1,546 timelines: 20 s and 54,000 px before)mre
- b9e841a7Merge branch 'sy-sync'mre
- d1ae2701sync components.hybriel 4922f9c: modal and pagination 44 px targets (vendored copies, verbatim) (SY)mre
- 043624b2theme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
- 05d89fd0deploy: security gate (tests/security.mjs)mre
- 2ae8a47bMerge branch 'sk-sec'mre
- 8fee5d52sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
- 944ad51eSK: report reports/SK-sec.md, LOGsk
- 415487c1SK: import budget per user + id type check, gate checkssk
- 7b8a4f74security audit SK: nosniff + image sandbox headers, face id checks, adult follow, login budget + new session at login, guest-link budget, tests/security.mjssk
- f0f26c5areports: T18 section (gates, boot-gate, 3x3 table, search + short-id compare)mre
- 2a8682a1deploy.sh GATES: tests/warmstart.mjsmre
- 3761338breports/T17-boot.md: handoff (phase table, fix, numbers so far, open proof)mre
- 52e09eb2boot: sync window 1000 ms (the gates ask for a complete start), README boot-time sectionmre