From 56c6466c9f4d72bb10379d19f5943fc82fe5f35b Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sun, 26 Feb 2012 17:14:35 -0800 Subject: [PATCH] Improved: Season search/backlog search is a lot more efficient with indexer searches. --- NzbDrone.Core/Jobs/SeasonSearchJob.cs | 9 +++++---- NzbDrone.Web/Content/Menu.css | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/NzbDrone.Core/Jobs/SeasonSearchJob.cs b/NzbDrone.Core/Jobs/SeasonSearchJob.cs index c9c3d1eeb..d30a9396e 100644 --- a/NzbDrone.Core/Jobs/SeasonSearchJob.cs +++ b/NzbDrone.Core/Jobs/SeasonSearchJob.cs @@ -70,11 +70,12 @@ namespace NzbDrone.Core.Jobs //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); + //} } } } \ No newline at end of file diff --git a/NzbDrone.Web/Content/Menu.css b/NzbDrone.Web/Content/Menu.css index bbb426d48..9fb8949a0 100644 --- a/NzbDrone.Web/Content/Menu.css +++ b/NzbDrone.Web/Content/Menu.css @@ -10,6 +10,7 @@ list-style-type: circle; margin-right: 12px; padding-left: 2px; + padding-top: 2px; border-left: 1px solid #065EFE; }