2017-10-29 06:50:47 +00:00
|
|
|
|
using System.Collections.Generic;
|
2018-03-10 08:05:56 +00:00
|
|
|
|
using Jackett.Common.Indexers.Abstract;
|
|
|
|
|
using Jackett.Common.Models;
|
|
|
|
|
using Jackett.Common.Services.Interfaces;
|
|
|
|
|
using Jackett.Common.Utils.Clients;
|
2017-10-29 06:50:47 +00:00
|
|
|
|
using NLog;
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
2018-03-10 08:05:56 +00:00
|
|
|
|
namespace Jackett.Common.Indexers
|
2016-12-17 15:49:52 +00:00
|
|
|
|
{
|
2017-07-03 05:15:47 +00:00
|
|
|
|
public class PassTheHeadphones : GazelleTracker
|
2016-12-17 15:49:52 +00:00
|
|
|
|
{
|
2017-11-05 09:42:03 +00:00
|
|
|
|
public PassTheHeadphones(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService)
|
2017-02-20 14:42:44 +00:00
|
|
|
|
: base(name: "Redacted",
|
2016-12-17 15:49:52 +00:00
|
|
|
|
desc: "A music tracker",
|
2017-02-20 14:42:44 +00:00
|
|
|
|
link: "https://redacted.ch/",
|
2017-07-10 20:58:44 +00:00
|
|
|
|
configService: configService,
|
2016-12-17 15:49:52 +00:00
|
|
|
|
logger: logger,
|
|
|
|
|
protectionService: protectionService,
|
2017-12-05 15:44:47 +00:00
|
|
|
|
webClient: webClient,
|
|
|
|
|
supportsFreeleechTokens: true
|
2016-12-17 15:49:52 +00:00
|
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
Language = "en-us";
|
2017-01-27 15:57:32 +00:00
|
|
|
|
Type = "private";
|
2017-10-29 06:50:47 +00:00
|
|
|
|
TorznabCaps.SupportedMusicSearchParamsList = new List<string>() { "q", "album", "artist", "label", "year" };
|
2016-12-17 15:49:52 +00:00
|
|
|
|
|
|
|
|
|
AddCategoryMapping(1, TorznabCatType.Audio, "Music");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
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");
|
2016-12-17 15:49:52 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|