mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-16 21:15:28 -04:00
Fixed searching the wrong season.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user