From 39271eb33c7ad067a19ca519d97f7fc176a6ce6d Mon Sep 17 00:00:00 2001 From: W Scott Johnson Date: Mon, 6 Mar 2023 00:19:39 -0800 Subject: [PATCH] Remove requirement for imdbtitle and imdbyear in Newznab and Torznab --- src/NzbDrone.Core/Indexers/Newznab/Newznab.cs | 3 +-- src/NzbDrone.Core/Indexers/Torznab/Torznab.cs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs b/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs index b95e860b5..303e8c094 100644 --- a/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs +++ b/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs @@ -143,8 +143,7 @@ namespace NzbDrone.Core.Indexers.Newznab } if (capabilities.SupportedMovieSearchParameters != null && - new[] { "q", "imdbid" }.Any(v => capabilities.SupportedMovieSearchParameters.Contains(v)) && - new[] { "imdbtitle", "imdbyear" }.All(v => capabilities.SupportedMovieSearchParameters.Contains(v))) + new[] { "q", "imdbid" }.Any(v => capabilities.SupportedMovieSearchParameters.Contains(v))) { return null; } diff --git a/src/NzbDrone.Core/Indexers/Torznab/Torznab.cs b/src/NzbDrone.Core/Indexers/Torznab/Torznab.cs index a1081f02d..0586284c5 100644 --- a/src/NzbDrone.Core/Indexers/Torznab/Torznab.cs +++ b/src/NzbDrone.Core/Indexers/Torznab/Torznab.cs @@ -134,8 +134,7 @@ namespace NzbDrone.Core.Indexers.Torznab } if (capabilities.SupportedMovieSearchParameters != null && - new[] { "q", "imdbid" }.Any(v => capabilities.SupportedMovieSearchParameters.Contains(v)) && - new[] { "imdbtitle", "imdbyear" }.All(v => capabilities.SupportedMovieSearchParameters.Contains(v))) + new[] { "q", "imdbid" }.Any(v => capabilities.SupportedMovieSearchParameters.Contains(v))) { return null; }