Fixed searching the wrong season.

pull/4186/head
Taloth Saldono 4 years ago
parent ba2ca7ee29
commit dcda03da4a

@ -233,6 +233,11 @@ namespace NzbDrone.Core.IndexerSearch
foreach (var sceneMapping in sceneMappings)
{
if ((sceneMapping.SeasonNumber ?? -1) != -1 && sceneMapping.SeasonNumber != episode.SeasonNumber)
{
continue;
}
if (sceneMapping.ParseTerm == series.CleanTitle && sceneMapping.FilterRegex.IsNotNullOrWhiteSpace())
{
// Disable the implied mapping if we have an explicit mapping by the same name

Loading…
Cancel
Save