mirror of https://github.com/Jackett/Jackett
33 lines
1.2 KiB
C#
33 lines
1.2 KiB
C#
using Jackett.Models;
|
|
using NLog;
|
|
using Jackett.Services;
|
|
using Jackett.Utils.Clients;
|
|
using Jackett.Indexers.Abstract;
|
|
|
|
namespace Jackett.Indexers
|
|
{
|
|
public class PassTheHeadphones : GazelleTracker
|
|
{
|
|
public PassTheHeadphones(IIndexerConfigurationService configService, IWebClient webClient, Logger logger, IProtectionService protectionService)
|
|
: base(name: "Redacted",
|
|
desc: "A music tracker",
|
|
link: "https://redacted.ch/",
|
|
configService: configService,
|
|
logger: logger,
|
|
protectionService: protectionService,
|
|
webClient: webClient
|
|
)
|
|
{
|
|
Language = "en-us";
|
|
Type = "private";
|
|
|
|
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");
|
|
}
|
|
}
|
|
} |