mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
New: Drone now uses the Download Client API to determine if a download is ready for import. (User configuration is required to replace the drone factory with this feature)
This commit is contained in:
@@ -34,8 +34,10 @@ namespace NzbDrone.Core.Indexers
|
||||
|
||||
public abstract DownloadProtocol Protocol { get; }
|
||||
|
||||
public abstract bool SupportsPaging { get; }
|
||||
public virtual bool SupportsSearching { get { return true; } }
|
||||
public virtual Boolean SupportsFeed { get { return true; } }
|
||||
public virtual Int32 SupportedPageSize { get { return 0; } }
|
||||
public bool SupportsPaging { get { return SupportedPageSize > 0; } }
|
||||
public virtual Boolean SupportsSearching { get { return true; } }
|
||||
|
||||
protected TSettings Settings
|
||||
{
|
||||
@@ -58,10 +60,4 @@ namespace NzbDrone.Core.Indexers
|
||||
return Definition.Name;
|
||||
}
|
||||
}
|
||||
|
||||
public enum DownloadProtocol
|
||||
{
|
||||
Usenet = 1,
|
||||
Torrent = 2
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user