|
|
|
@ -118,9 +118,14 @@ namespace NzbDrone.Core.Indexers.Newznab
|
|
|
|
|
{
|
|
|
|
|
capabilities.SupportedSearchParameters = null;
|
|
|
|
|
}
|
|
|
|
|
else if (xmlBasicSearch.Attribute("supportedParams") != null)
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
capabilities.SupportedSearchParameters = xmlBasicSearch.Attribute("supportedParams").Value.Split(',');
|
|
|
|
|
if (xmlBasicSearch.Attribute("supportedParams") != null)
|
|
|
|
|
{
|
|
|
|
|
capabilities.SupportedSearchParameters = xmlBasicSearch.Attribute("supportedParams").Value.Split(',');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
capabilities.TextSearchEngine = xmlBasicSearch.Attribute("searchEngine")?.Value ?? capabilities.TextSearchEngine;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xmlMovieSearch = xmlSearching.Element("movie-search");
|
|
|
|
@ -128,10 +133,15 @@ namespace NzbDrone.Core.Indexers.Newznab
|
|
|
|
|
{
|
|
|
|
|
capabilities.SupportedMovieSearchParameters = null;
|
|
|
|
|
}
|
|
|
|
|
else if (xmlMovieSearch.Attribute("supportedParams") != null)
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
capabilities.SupportedMovieSearchParameters = xmlMovieSearch.Attribute("supportedParams").Value.Split(',');
|
|
|
|
|
capabilities.SupportsAggregateIdSearch = true;
|
|
|
|
|
if (xmlMovieSearch.Attribute("supportedParams") != null)
|
|
|
|
|
{
|
|
|
|
|
capabilities.SupportedMovieSearchParameters = xmlMovieSearch.Attribute("supportedParams").Value.Split(',');
|
|
|
|
|
capabilities.SupportsAggregateIdSearch = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
capabilities.MovieTextSearchEngine = xmlMovieSearch.Attribute("searchEngine")?.Value ?? capabilities.MovieTextSearchEngine;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|