1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-12 11:15:43 +02: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 @@ public virtual void Start(ProgressNotification notification, int targetId, int s
var missingEpisodes = episodeNumbers.Except(addedSeries).ToList();
//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);
}