Fixed an issue with XemMappings and single episode searching

This commit is contained in:
Mark McDowall 2013-08-14 10:34:33 -07:00 committed by kay.one
parent 721dc90613
commit 6e3a4828cd
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications.Search
return false; return false;
} }
if (!remoteEpisode.Episodes.Select(c => c.EpisodeNumber).Contains(singleEpisodeSpec.EpisodeNumber)) if (!remoteEpisode.ParsedEpisodeInfo.EpisodeNumbers.Contains(singleEpisodeSpec.EpisodeNumber))
{ {
_logger.Trace("Episode number does not match searched episode number, skipping."); _logger.Trace("Episode number does not match searched episode number, skipping.");
return false; return false;