using System; using System.Collections.Generic; namespace NzbDrone.Core.Indexers.Newznab { public class NewznabCapabilities { public string[] SupportedSearchParameters { get; set; } public string[] SupportedTvSearchParameters { get; set; } public List Categories { get; set; } public NewznabCapabilities() { SupportedSearchParameters = new[] { "q" }; SupportedTvSearchParameters = new[] { "q", "rid", "season", "ep" }; // This should remain 'rid' for older newznab installs. Categories = new List(); } } public class NewznabCategory { public int Id { get; set; } public string Name { get; set; } public string Description { get; set; } public List Subcategories { get; set; } } }