mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 09:37:12 +00:00
Improved: Season search/backlog search is a lot more efficient with indexer searches.
This commit is contained in:
parent
6f9ced0e2c
commit
56c6466c9f
2 changed files with 6 additions and 4 deletions
|
@ -70,11 +70,12 @@ public virtual void Start(ProgressNotification notification, int targetId, int s
|
|||
//Get the list of episodes that weren't downloaded
|
||||
var missingEpisodes = episodeNumbers.Except(addedSeries).ToList();
|
||||
|
||||
//TODO: do one by one check only when max number of feeds have been returned by the indexer
|
||||
//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)).OrderBy(o => o.EpisodeNumber))
|
||||
{
|
||||
_episodeSearchJob.Start(notification, episode.EpisodeId, 0);
|
||||
}
|
||||
//foreach (var episode in episodes.Where(e => !e.Ignored && missingEpisodes.Contains(e.EpisodeNumber)).OrderBy(o => o.EpisodeNumber))
|
||||
//{
|
||||
// _episodeSearchJob.Start(notification, episode.EpisodeId, 0);
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -10,6 +10,7 @@
|
|||
list-style-type: circle;
|
||||
margin-right: 12px;
|
||||
padding-left: 2px;
|
||||
padding-top: 2px;
|
||||
border-left: 1px solid #065EFE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue