Commit Graph
1 Commits
Author SHA1 Message Date
sudacode b7b9400aae 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.
2026-11-22 02:26:36 -08:00