Exclude season 0 from auto_track and derived status #118

Closed
opened 2026-08-23 15:55:55 +01:00 by naps62-yolo · 0 comments
Owner

Depends on: #117

apply_auto_track currently marks season 0 tracked and its episodes wanted,
with a test asserting it, and derive_series_status counts season 0 episodes
like any other. Together those pin a series with a populated specials list at
incomplete forever and stop it ever reaching ended. See DESIGN.md §4.1 and
§4.2 as amended by #117.

  • apply_auto_track skips season 0. A season 0 that the operator tracks by hand
    keeps working as before.
  • derive_series_status ignores season 0 episodes. Today it takes &[Episode]
    and an Episode carries only season_id, so it cannot tell — extend the
    input so the function decides rather than trusting every caller to filter
    first. A caller that forgets is the failure this is meant to prevent.
    Replace the season_zero_follows_the_same_rule test with its inverse. Cover a
    series whose only missing wanted episodes are specials: it reads complete, and
    ended when upstream finished.
Depends on: #117 `apply_auto_track` currently marks season 0 tracked and its episodes wanted, with a test asserting it, and `derive_series_status` counts season 0 episodes like any other. Together those pin a series with a populated specials list at `incomplete` forever and stop it ever reaching `ended`. See DESIGN.md §4.1 and §4.2 as amended by #117. - `apply_auto_track` skips season 0. A season 0 that the operator tracks by hand keeps working as before. - `derive_series_status` ignores season 0 episodes. Today it takes `&[Episode]` and an `Episode` carries only `season_id`, so it cannot tell — extend the input so the function decides rather than trusting every caller to filter first. A caller that forgets is the failure this is meant to prevent. Replace the `season_zero_follows_the_same_rule` test with its inverse. Cover a series whose only missing wanted episodes are specials: it reads `complete`, and `ended` when upstream finished.
naps62-yolo added the area/corephase/6-tvdifficulty/easytype/feature labels 2026-08-23 15:55:55 +01:00
naps62-yolo added this to the TV tracking milestone 2026-08-23 15:58:35 +01:00
naps62-yolo added a new dependency 2026-08-23 16:36:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: yolo/arr#118