mirror of
https://github.com/seerr-team/seerr.git
synced 2026-04-17 22:07:59 -04:00
The media-level status was incorrectly set to AVAILABLE when only some seasons were available. The issue was isAllStandardSeasons/isAll4kSeasons checked the scanner's input array which only contains seasons found by current scanner (e.g. 1 seaason in jellyfin). If that single season was fully available, the check passes and the media gets marked AVAILABLE regardless of how many total seasons existed. And the shouldStayAvailable (and its 4k check) locked the AVAILABLE status once set, as long as no new seasons were added with a status which prevented the incorrect status from correcting itself.