mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-29 21:49:13 +02:00
core: add support for tmdbid to torznab tvsearch. resolves #13295
also update any indexer that has tmdbid on their moviesearch and add it to the tvsearch too.
This commit is contained in:
@@ -382,6 +382,12 @@ namespace Jackett.Server.Controllers
|
||||
logger.Warn($"A search request with tmdbid from {Request.HttpContext.Connection.RemoteIpAddress} was made but the indexer {CurrentIndexer.DisplayName} doesn't support it.");
|
||||
return GetErrorXML(203, "Function Not Available: tmdbid is not supported for movie search by this indexer");
|
||||
}
|
||||
|
||||
if (CurrentQuery.IsTVSearch && !CurrentIndexer.TorznabCaps.TvSearchTmdbAvailable)
|
||||
{
|
||||
logger.Warn($"A search request with tmdbid from {Request.HttpContext.Connection.RemoteIpAddress} was made but the indexer {CurrentIndexer.DisplayName} doesn't support it.");
|
||||
return GetErrorXML(203, "Function Not Available: tmdbid is not supported for TV search by this indexer");
|
||||
}
|
||||
}
|
||||
|
||||
if (CurrentQuery.TvdbID != null)
|
||||
|
Reference in New Issue
Block a user