1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 02:07:41 +00:00

Season searching fallback to individual episodes will done in order from 1 to n.

This commit is contained in:
Mark McDowall 2011-09-05 15:26:53 -07:00
parent 5f75891d36
commit 1f2a1e3206

View file

@ -73,7 +73,7 @@ namespace NzbDrone.Core.Providers.Jobs
var missingEpisodes = episodeNumbers.Except(addedSeries).ToList(); var missingEpisodes = episodeNumbers.Except(addedSeries).ToList();
//Only process episodes that is in missing episodes (To ensure we double check if the episode is available) //Only process episodes that is in missing episodes (To ensure we double check if the episode is available)
foreach (var episode in episodes.Where(e => !e.Ignored && missingEpisodes.Contains(e.EpisodeNumber))) foreach (var episode in episodes.Where(e => !e.Ignored && missingEpisodes.Contains(e.EpisodeNumber)).OrderBy(o => o.EpisodeNumber))
{ {
_episodeSearchJob.Start(notification, episode.EpisodeId, 0); _episodeSearchJob.Start(notification, episode.EpisodeId, 0);
} }