added torrent feature toggle.

dropped NzbClub.
This commit is contained in:
Keivan Beigi
2013-09-13 17:10:39 -07:00
parent 771e366441
commit 5fc4cd29a3
14 changed files with 71 additions and 174 deletions
+8
View File
@@ -7,6 +7,8 @@ namespace NzbDrone.Core.Indexers
{
public abstract string Name { get; }
public abstract IndexerKind Kind { get; }
public virtual bool EnableByDefault { get { return true; } }
public IndexerDefinition InstanceDefinition { get; set; }
@@ -32,4 +34,10 @@ namespace NzbDrone.Core.Indexers
public abstract IEnumerable<string> GetDailyEpisodeSearchUrls(string seriesTitle, int tvRageId, DateTime date);
public abstract IEnumerable<string> GetSeasonSearchUrls(string seriesTitle, int tvRageId, int seasonNumber, int offset);
}
public enum IndexerKind
{
Usenet,
Torrent
}
}