fix(anilist): resolve later seasons past split-cour halves and specials

The sequel-chain walk counted every SEQUEL hop as a season, so a split
cour ("Part 2", "Cour 2", 第2クール) or a special/movie in the chain
landed one season short while reporting seasonResolved: true.

- Only TV/TV_SHORT/long-ONA entries count; specials, movies, OVAs and
  short ONAs are walked through.
- A hop whose title or synonym ends in a part/cour marker matching the
  season's first entry is a continuation, not a season. Part 1 never
  marks a back half, and a season's own marker is stripped only when it
  is Part 1 (keeps JoJo Part 5 -> Part 6 as two seasons).
- An entry whose title names the requested season (Season 3, 3rd
  Season, III, 第3期) wins over the count, with a one-season lookahead;
  bare trailing numbers are trusted on main titles only.
- A transport error mid-walk propagates instead of falling through to
  air order.
- Episodes past a split-cour season entry resolve to the part that airs
  them (episodeEntry); the AniList updater writes progress there.
- Air order matches the franchise on any main title and drops
  continuations.

Ports and corrects the unlanded design from checkpoint 27c0ea67.
This commit is contained in:
sudacode committed 2026-11-22 02:26:36 -08:00
1 parent 0ae70b4ab2
commit b7b9400aae
7 files changed
+1388 -151

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
type: fixed
area: anilist
- Later seasons now resolve to the right AniList entry when the sequel chain contains split-season halves ("Part 2", "Cour 2"), specials, or movies. Mushoku Tensei S3, Re:ZERO S4, Dr. STONE S3, KonoSuba S3, and Attack on Titan S4 used to land one season short or on a movie.
- An entry whose title names the season ("Season 3", "III", "第3期") is preferred over counting sequels.
- Episodes past the first half of a split season update the second half's AniList entry at the right episode (episode 15 of an 11 + 12 season updates the second entry to episode 4).
- Character dictionary AniList matches cached by older versions are re-resolved once.