From 913b845faadc3c9fc005abfba815426743d01bdf Mon Sep 17 00:00:00 2001 From: Qstick Date: Fri, 9 Feb 2024 20:10:09 -0600 Subject: [PATCH] Fixed: Prevent anime search with ep/season if not supported --- src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs b/src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs index b3e0090cd..ed09945cd 100644 --- a/src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs @@ -402,7 +402,7 @@ namespace NzbDrone.Core.Indexers.Newznab searchCriteria.SeasonNumber > 0 && searchCriteria.EpisodeNumber > 0; - if (includeAnimeStandardFormatSearch) + if (includeAnimeStandardFormatSearch && SupportsEpisodeSearch) { AddTvIdPageableRequests(pageableRequests, Settings.AnimeCategories, @@ -419,7 +419,7 @@ namespace NzbDrone.Core.Indexers.Newznab "search", $"&q={NewsnabifyTitle(queryTitle)}+{searchCriteria.AbsoluteEpisodeNumber:00}")); - if (includeAnimeStandardFormatSearch) + if (includeAnimeStandardFormatSearch && SupportsEpisodeSearch) { pageableRequests.Add(GetPagedRequests(MaxPages, Settings.AnimeCategories,