Added support for querying newznab with multiple ids in one query.

This commit is contained in:
Taloth Saldono
2015-10-09 20:57:38 +02:00
parent 1ad1d73c91
commit 9162e97dd5
3 changed files with 30 additions and 0 deletions
@@ -7,12 +7,14 @@ namespace NzbDrone.Core.Indexers.Newznab
{
public string[] SupportedSearchParameters { get; set; }
public string[] SupportedTvSearchParameters { get; set; }
public bool SupportsAggregateIdSearch { get; set; }
public List<NewznabCategory> Categories { get; set; }
public NewznabCapabilities()
{
SupportedSearchParameters = new[] { "q" };
SupportedTvSearchParameters = new[] { "q", "rid", "season", "ep" }; // This should remain 'rid' for older newznab installs.
SupportsAggregateIdSearch = false;
Categories = new List<NewznabCategory>();
}
}