Add notwhat.cd tracker

This commit is contained in:
kaso17 2016-12-18 11:36:11 +01:00
parent 0e59621650
commit 3dfba7c204
2 changed files with 33 additions and 0 deletions

View File

@ -63,6 +63,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* NetHD
* NextGen
* Norbits
* notwhat.cd
* PassTheHeadphones
* PassThePopcorn
* PirateTheNet

View File

@ -0,0 +1,32 @@
using Jackett.Models;
using NLog;
using Jackett.Services;
using Jackett.Utils.Clients;
using Jackett.Indexers.Abstract;
namespace Jackett.Indexers
{
public class notwhatcd : GazelleTracker, IIndexer
{
public notwhatcd(IIndexerManagerService indexerManager, IWebClient webClient, Logger logger, IProtectionService protectionService)
: base(name: "notwhat.cd",
desc: "A music tracker",
link: "https://notwhat.cd/",
indexerManager: indexerManager,
logger: logger,
protectionService: protectionService,
webClient: webClient
)
{
Language = "en-us";
AddCategoryMapping(1, TorznabCatType.Audio, "Music");
AddCategoryMapping(2, TorznabCatType.PC, "Applications");
AddCategoryMapping(3, TorznabCatType.Books, "E-Books");
AddCategoryMapping(4, TorznabCatType.AudioAudiobook, "Audiobooks");
AddCategoryMapping(5, TorznabCatType.Movies, "E-Learning Videos");
AddCategoryMapping(6, TorznabCatType.TV, "Comedy");
AddCategoryMapping(7, TorznabCatType.Books, "Comics");
}
}
}