You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using NzbDrone.Core.ThingiProvider;
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Indexers
|
|
|
|
{
|
|
|
|
public class IndexerDefinition : ProviderDefinition
|
|
|
|
{
|
|
|
|
public const int DefaultPriority = 25;
|
|
|
|
|
|
|
|
public IndexerDefinition()
|
|
|
|
{
|
|
|
|
Priority = DefaultPriority;
|
|
|
|
}
|
|
|
|
|
|
|
|
public bool EnableRss { get; set; }
|
|
|
|
public bool EnableAutomaticSearch { get; set; }
|
|
|
|
public bool EnableInteractiveSearch { get; set; }
|
|
|
|
public int DownloadClientId { get; set; }
|
|
|
|
public DownloadProtocol Protocol { get; set; }
|
|
|
|
public bool SupportsRss { get; set; }
|
|
|
|
public bool SupportsSearch { get; set; }
|
|
|
|
public int Priority { get; set; }
|
|
|
|
|
|
|
|
public override bool Enable => EnableRss || EnableAutomaticSearch || EnableInteractiveSearch;
|
|
|
|
|
|
|
|
public IndexerStatus Status { get; set; }
|
|
|
|
}
|
|
|
|
}
|