1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

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

View File

@ -57,7 +57,7 @@ public void Execute(MissingEpisodeSearchCommand message)
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;