Remove requirement for imdbtitle and imdbyear in Newznab and Torznab

pull/8447/head
W Scott Johnson 2 years ago committed by Bogdan
parent cc28519d6d
commit 39271eb33c

@ -143,8 +143,7 @@ namespace NzbDrone.Core.Indexers.Newznab
} }
if (capabilities.SupportedMovieSearchParameters != null && if (capabilities.SupportedMovieSearchParameters != null &&
new[] { "q", "imdbid" }.Any(v => capabilities.SupportedMovieSearchParameters.Contains(v)) && new[] { "q", "imdbid" }.Any(v => capabilities.SupportedMovieSearchParameters.Contains(v)))
new[] { "imdbtitle", "imdbyear" }.All(v => capabilities.SupportedMovieSearchParameters.Contains(v)))
{ {
return null; return null;
} }

@ -134,8 +134,7 @@ namespace NzbDrone.Core.Indexers.Torznab
} }
if (capabilities.SupportedMovieSearchParameters != null && if (capabilities.SupportedMovieSearchParameters != null &&
new[] { "q", "imdbid" }.Any(v => capabilities.SupportedMovieSearchParameters.Contains(v)) && new[] { "q", "imdbid" }.Any(v => capabilities.SupportedMovieSearchParameters.Contains(v)))
new[] { "imdbtitle", "imdbyear" }.All(v => capabilities.SupportedMovieSearchParameters.Contains(v)))
{ {
return null; return null;
} }

Loading…
Cancel
Save