Fixed: Anime season search won't search for missing episodes

pull/2/head
Mark McDowall 9 years ago
parent 9ffc0ec521
commit ef3d508b31

@ -226,7 +226,7 @@ namespace NzbDrone.Core.Test.IndexerSearchTests
var seasonNumber = 1; var seasonNumber = 1;
var allCriteria = WatchForSearchCriteria(); var allCriteria = WatchForSearchCriteria();
Subject.SeasonSearch(_xemSeries.Id, seasonNumber, true); Subject.SeasonSearch(_xemSeries.Id, seasonNumber, false);
var criteria = allCriteria.OfType<AnimeEpisodeSearchCriteria>().ToList(); var criteria = allCriteria.OfType<AnimeEpisodeSearchCriteria>().ToList();

@ -220,7 +220,7 @@ namespace NzbDrone.Core.IndexerSearch
{ {
var downloadDecisions = new List<DownloadDecision>(); var downloadDecisions = new List<DownloadDecision>();
foreach (var episode in episodes) foreach (var episode in episodes.Where(e => e.Monitored))
{ {
downloadDecisions.AddRange(SearchAnime(series, episode)); downloadDecisions.AddRange(SearchAnime(series, episode));
} }

Loading…
Cancel
Save