Fixed: Indexers that do not support movie search should give better error messages. Radarr now also complains if an indexer does not support certain categories.
ex.Response.Content.Contains("not support the requested query"))
{
_logger.Warn(ex,"Indexer does not support the query");
returnnewValidationFailure(string.Empty,"Indexer does not support the current query. Check if the categories and or searching for movies are supported. Check the log for more details.");
}
else
{
_logger.Warn(ex,"Unable to connect to indexer");
returnnewValidationFailure(string.Empty,"Unable to connect to indexer, check the log for more details");
returnnewValidationFailure(string.Empty,"Indexer does not support required search parameters");
returnnewValidationFailure(string.Empty,"This indexer does not support searching for movies :(. Tell your indexer staff to enable this or force add the indexer by disabling search, adding the indexer and then enabling it again.");
returnnewValidationFailure(string.Empty,$"This indexer does not support any of the selected categories! (You may need to turn on advanced settings to see them)");
returnnewValidationFailure(string.Empty,"Indexer does not support required search parameters");
returnnewValidationFailure(string.Empty,"This indexer does not support searching for movies :(. Tell your indexer staff to enable this or force add the indexer by disabling search, adding the indexer and then enabling it again.");