1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-31 20:26:16 +00:00

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

View file

@ -38,7 +38,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications.Search
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.");
return false;