Whole seasons removed upstream are ignored #137

Closed
opened 2026-08-23 18:06:56 +01:00 by naps62-yolo · 0 comments
Owner

#122 reconciles episodes TMDB no longer lists. Whole seasons are not covered:
the refresh only walks the seasons TMDB currently returns, so a season deleted
upstream keeps every episode it had, wanted ones included. That is the exact
trap #122 closed one level down.

Apply the same two rules at season level:

  • A vanished season with no file on any of its episodes is deleted, cascading
    to its episodes and their episode_releases.
  • A vanished season with a file anywhere under it is kept and flagged, the way
    #122 flags an episode, so nothing can orphan media.

Season 0 needs care: TMDB sometimes drops and re-adds it, and #118 already keeps
it out of status, so churning it is noise rather than signal.

#122 reconciles episodes TMDB no longer lists. Whole seasons are not covered: the refresh only walks the seasons TMDB currently returns, so a season deleted upstream keeps every episode it had, wanted ones included. That is the exact trap #122 closed one level down. Apply the same two rules at season level: - A vanished season with no file on any of its episodes is deleted, cascading to its episodes and their `episode_releases`. - A vanished season with a file anywhere under it is kept and flagged, the way #122 flags an episode, so nothing can orphan media. Season 0 needs care: TMDB sometimes drops and re-adds it, and #118 already keeps it out of status, so churning it is noise rather than signal.
naps62-yolo added this to the TV tracking milestone 2026-08-23 18:06:56 +01:00
naps62-yolo added the area/daemondifficulty/moderatephase/6-tvtype/bug labels 2026-08-23 18:06:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yolo/arr#137