Add `tmdbid` to capabilities check in Newznab/Torznab

pull/8447/head
Bogdan 2 years ago
parent 39271eb33c
commit b3037248a2

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

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

Loading…
Cancel
Save