Missing search now searches for episodes not in queue

This commit is contained in:
Mark McDowall 2014-04-10 17:25:46 -07:00
parent 64ea525f79
commit 187724f74c
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ namespace NzbDrone.Core.IndexerSearch
FilterExpression = v => v.Monitored == true && v.Series.Monitored == true
}).Records.ToList();
var missing = episodes.Where(e => _queueService.GetQueue().Select(q => q.Episode.Id).Contains(e.Id));
var missing = episodes.Where(e => !_queueService.GetQueue().Select(q => q.Episode.Id).Contains(e.Id));
_logger.ProgressInfo("Performing missing search for {0} episodes", episodes.Count);
var downloadedCount = 0;