Display names for Indexers

pull/2/head
Mark McDowall 10 years ago
parent e296d94417
commit c3e0dbc173

@ -9,6 +9,14 @@ namespace NzbDrone.Core.Test.IndexerTests
{
public class TestIndexer : HttpIndexerBase<TestIndexerSettings>
{
public override string Name
{
get
{
return "Test Indexer";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Usenet; } }
public Int32 _supportedPageSize;

@ -8,6 +8,14 @@ namespace NzbDrone.Core.Indexers.BitMeTv
{
public class BitMeTv : HttpIndexerBase<BitMeTvSettings>
{
public override string Name
{
get
{
return "BitMeTV";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Torrent; } }
public override Boolean SupportsSearch { get { return false; } }
public override Int32 PageSize { get { return 0; } }

@ -7,6 +7,14 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
{
public class BroadcastheNet : HttpIndexerBase<BroadcastheNetSettings>
{
public override string Name
{
get
{
return "BroadcasttheNet";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Torrent; } }
public override bool SupportsRss { get { return true; } }
public override bool SupportsSearch { get { return true; } }

@ -7,6 +7,14 @@ namespace NzbDrone.Core.Indexers.Eztv
{
public class Eztv : HttpIndexerBase<EztvSettings>
{
public override string Name
{
get
{
return "EZTV";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Torrent; } }
public Eztv(IHttpClient httpClient, IConfigService configService, IParsingService parsingService, Logger logger)

@ -2,12 +2,19 @@
using NzbDrone.Common.Http;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Parser;
using NzbDrone.Core.ThingiProvider;
namespace NzbDrone.Core.Indexers.Fanzub
{
public class Fanzub : HttpIndexerBase<FanzubSettings>
{
public override string Name
{
get
{
return "Fanzub";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Usenet; } }
public Fanzub(IHttpClient httpClient, IConfigService configService, IParsingService parsingService, Logger logger)

@ -8,6 +8,14 @@ namespace NzbDrone.Core.Indexers.IPTorrents
{
public class IPTorrents : HttpIndexerBase<IPTorrentsSettings>
{
public override string Name
{
get
{
return "IP Torrents";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Torrent; } }
public override Boolean SupportsSearch { get { return false; } }
public override Int32 PageSize { get { return 0; } }

@ -19,14 +19,7 @@ namespace NzbDrone.Core.Indexers
protected readonly IParsingService _parsingService;
protected readonly Logger _logger;
public string Name
{
get
{
return GetType().Name;
}
}
public abstract string Name { get; }
public abstract DownloadProtocol Protocol { get; }
public abstract Boolean SupportsRss { get; }

@ -8,6 +8,14 @@ namespace NzbDrone.Core.Indexers.KickassTorrents
{
public class KickassTorrents : HttpIndexerBase<KickassTorrentsSettings>
{
public override string Name
{
get
{
return "Kickass Torrents";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Torrent; } }
public override Int32 PageSize { get { return 25; } }

@ -11,6 +11,14 @@ namespace NzbDrone.Core.Indexers.Newznab
{
public class Newznab : HttpIndexerBase<NewznabSettings>
{
public override string Name
{
get
{
return "Newznab";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Usenet; } }
public override Int32 PageSize { get { return 100; } }

@ -8,6 +8,14 @@ namespace NzbDrone.Core.Indexers.Nyaa
{
public class Nyaa : HttpIndexerBase<NyaaSettings>
{
public override string Name
{
get
{
return "Nyaa";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Torrent; } }
public override Int32 PageSize { get { return 100; } }

@ -7,6 +7,14 @@ namespace NzbDrone.Core.Indexers.Omgwtfnzbs
{
public class Omgwtfnzbs : HttpIndexerBase<OmgwtfnzbsSettings>
{
public override string Name
{
get
{
return "omgwtfnzbs";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Usenet; } }
public Omgwtfnzbs(IHttpClient httpClient, IConfigService configService, IParsingService parsingService, Logger logger)

@ -8,6 +8,14 @@ namespace NzbDrone.Core.Indexers.Torrentleech
{
public class Torrentleech : HttpIndexerBase<TorrentleechSettings>
{
public override string Name
{
get
{
return "TorrentLeech";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Torrent; } }
public override Boolean SupportsSearch { get { return false; } }
public override Int32 PageSize { get { return 0; } }

@ -11,6 +11,14 @@ namespace NzbDrone.Core.Indexers.Torznab
{
public class Torznab : HttpIndexerBase<TorznabSettings>
{
public override string Name
{
get
{
return "Torznab";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Torrent; } }
public override Int32 PageSize { get { return 100; } }

@ -8,6 +8,14 @@ namespace NzbDrone.Core.Indexers.Wombles
{
public class Wombles : HttpIndexerBase<NullConfig>
{
public override string Name
{
get
{
return "Womble's";
}
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Usenet; } }
public override bool SupportsSearch { get { return false; } }

@ -1,6 +1,6 @@
<div class="add-thingy">
<div>
{{implementation}}
{{implementationName}}
</div>
<div class="pull-right">
{{#if_gt presets.length compare=0}}

Loading…
Cancel
Save