1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-11-06 09:19:38 +02:00

Fixed IsNeeded() with tests

Added sample xml from all indexers to test project
Fixed a bug where parser would try to use file extension from a report title.
This commit is contained in:
kay.one
2011-04-25 10:48:16 -07:00
parent 198d92f433
commit e6fb02fac6
19 changed files with 3885 additions and 48 deletions

View File

@@ -76,10 +76,6 @@ namespace NzbDrone.Core.Providers
public virtual bool IsIgnored(int seriesId, int seasonNumber)
{
var season = _sonicRepo.Single<Season>(s => s.SeriesId == seriesId && s.SeasonNumber == seasonNumber);
if (season == null)
return true;
return !season.Monitored;
}