-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
In the following line, I would suggest adding the following condition to make the script more robust:
... and item.monitored:
Without this condition, the following bug occurs:
- Let's say, a Series has 3 released seasons, and Series will be continuing to 4th season.
- Season 3 is monitored, but is missing files.
- I change Series Monitoring to "Future Episodes". In sonarr, this state is set as Season 3 == monitored, but none of the episodes in the season are monitored.
- Now state in Sonarr is - season 3 is monitored and all its episodes are unmonitored.
- During repair process,
item.reason == 'MissingFromDisk'is True for the season 3 episodes because that was the last state before I unmonitored them. Therefore the script tries to repair them even though that is not the intended behavior.
Metadata
Metadata
Assignees
Labels
No labels