From b3037248a231192adea8c384b713fdc83a04bf1d Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 5 May 2023 11:42:41 +0300 Subject: [PATCH] Add `tmdbid` to capabilities check in Newznab/Torznab --- src/NzbDrone.Core/Indexers/Newznab/Newznab.cs | 2 +- src/NzbDrone.Core/Indexers/Torznab/Torznab.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs b/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs index 303e8c094..8237c630c 100644 --- a/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs +++ b/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs @@ -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; } diff --git a/src/NzbDrone.Core/Indexers/Torznab/Torznab.cs b/src/NzbDrone.Core/Indexers/Torznab/Torznab.cs index 0586284c5..a3b9862f5 100644 --- a/src/NzbDrone.Core/Indexers/Torznab/Torznab.cs +++ b/src/NzbDrone.Core/Indexers/Torznab/Torznab.cs @@ -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; }