Fixed: (AnimeBytes) Parse season only for category Anime

pull/1624/head
Bogdan 2 years ago
parent 57e1b6b4a0
commit 4a5e923999

@ -383,12 +383,13 @@ namespace NzbDrone.Core.Indexers.Definitions
} }
} }
if (_settings.EnableSonarrCompatibility) if (_settings.EnableSonarrCompatibility && categoryName == "Anime")
{ {
season ??= ParseSeasonFromTitles(synonyms); season ??= ParseSeasonFromTitles(synonyms);
}
season ??= _settings.EnableSonarrCompatibility && categoryName == "Anime" ? 1 : null; // Default to S01
season ??= 1;
}
if (season is > 0 || episode is > 0) if (season is > 0 || episode is > 0)
{ {

Loading…
Cancel
Save