Fixed: Monitoring pilot episode will not monitor first season

Closes #4597
This commit is contained in:
Mark McDowall 2021-08-01 10:42:51 -07:00
parent 94417402d8
commit 076c293942
1 changed files with 5 additions and 0 deletions

View File

@ -128,6 +128,11 @@ namespace NzbDrone.Core.Tv
{
season.Monitored = true;
}
// Don't monitor season 1 if only the pilot episode is monitored
else if (seasonNumber == firstSeason && monitoringOptions.Monitor == MonitorTypes.Pilot)
{
season.Monitored = false;
}
// Monitor the season if it has any monitor episodes
else if (monitoredSeasons.Contains(seasonNumber))
{