Fixed: Do not monitor specials when monitoring missing
This commit is contained in:
parent
3ad7673d69
commit
cc6ab0ade1
|
@ -119,8 +119,7 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeMonitoredServiceTests
|
|||
|
||||
Subject.SetEpisodeMonitoredStatus(_series, monitoringOptions);
|
||||
|
||||
VerifyMonitored(e => !e.HasFile);
|
||||
VerifyNotMonitored(e => e.HasFile);
|
||||
VerifyNotMonitored(e => e.SeasonNumber == 0);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -136,9 +135,7 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeMonitoredServiceTests
|
|||
|
||||
Subject.SetEpisodeMonitoredStatus(_series, monitoringOptions);
|
||||
|
||||
VerifyMonitored(e => e.AirDateUtc.HasValue && e.AirDateUtc.Value.After(DateTime.UtcNow));
|
||||
VerifyMonitored(e => !e.AirDateUtc.HasValue);
|
||||
VerifyNotMonitored(e => e.AirDateUtc.HasValue && e.AirDateUtc.Value.Before(DateTime.UtcNow));
|
||||
VerifyNotMonitored(e => e.SeasonNumber == 0);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
|
@ -74,6 +74,11 @@ namespace NzbDrone.Core.Tv
|
|||
{
|
||||
ToggleEpisodesMonitoredState(episodes.Where(e => e.SeasonNumber == season.SeasonNumber), false);
|
||||
}
|
||||
|
||||
else if (season.SeasonNumber == 0)
|
||||
{
|
||||
ToggleEpisodesMonitoredState(episodes.Where(e => e.SeasonNumber == season.SeasonNumber), false);
|
||||
}
|
||||
}
|
||||
|
||||
if (season.SeasonNumber < lastSeason)
|
||||
|
|
Loading…
Reference in New Issue