mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-24 16:53:54 +00:00
Fixed: Prevent anime search with ep/season if not supported
This commit is contained in:
parent
6e81517d51
commit
913b845faa
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue