From 854b76338072979526ce36fbc176c82f6fc5d0bd Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sun, 30 Aug 2026 16:31:34 +0200 Subject: fix(node): stop a numbered saga all matching its first film MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every " Episode - " file in a numbered franchise resolved to the series' first entry (a real, older film). `sequel_variants` stripped "Episode " and offered the bare "" as a candidate query; that matches the first film's original_title at ratio 1.0 and beat PASS 1's correct-but-lower hit. A franchise's bare name is very often a real, different film. When a Part/Episode/Chapitre/… keyword carried the index, sequel_variants no longer emits the bare base — only " " and " ". Without a keyword (" 3") the bare base is still offered, so that fix is untouched. Verified live against TMDB: the franchise's episodes each resolve to their own entry; the earlier numbered-sequel, two-part-film and franchise-subtitle regressions all hold. docs/mediacenter.md §10.3. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_018BMLQjqFGCize2KtNBT79v --- docs/mediacenter.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs') diff --git a/docs/mediacenter.md b/docs/mediacenter.md index aa1bd03..3a6b733 100644 --- a/docs/mediacenter.md +++ b/docs/mediacenter.md @@ -786,6 +786,19 @@ flat-dumped episode always carries a marker, so nothing regresses. (`Show.2019.308.mkv`) that guessit slots wrongly has no in-UI remedy short of renaming the file. A "this is a movie / a show" toggle would close that. +### 10.3 A whole saga matched to its first film (2026-08-30) + +Every `Star Wars Episode - ` file resolved to the 1977 original (TMDB id 11). +Cause: `sequel_variants` stripped `Episode ` and offered the bare `Star Wars` as a +candidate query — which matches the 1977 film's `original_title` at ratio 1.0, beating +PASS 1's correct (but lower-ratio) hit. A franchise's bare name is very often a real, +different film. **Fixed** (`fix/starwars-saga-match`): when a `Part`/`Episode`/… keyword is +what carried the index, `sequel_variants` no longer emits the bare base — only +` ` and ` `. Without a keyword (`Jurassic Park 3`) the bare base +is still offered. Verified live: Star Wars I–VI now each resolve to their own episode; +Jurassic Park / Kill Bill / Bond regressions all hold. V12's movie merge, reverted the +same day, would have compounded this into one card for the saga. + ## 11. Acceptance before shipping 1. Re-run the §3 validation (real TMDB calls, same corpus, same script -- cgit v1.2.3