From fb1ebfe88dab6092582521d3ac191cb1e3842cff Mon Sep 17 00:00:00 2001 From: kaso17 <kaso17@users.noreply.github.com> Date: Tue, 23 Jan 2018 17:55:32 +0100 Subject: [PATCH] Revert "Psytorrents: removed (dead)" This reverts commit f6e37d0b8332657f6f0ea5711cc3a7f62ebc1284. --- README.md | 1 + src/Jackett.Common/Indexers/Psytorrents.cs | 29 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 src/Jackett.Common/Indexers/Psytorrents.cs diff --git a/README.md b/README.md index aea8c86e..9c3aa7df 100644 --- a/README.md +++ b/README.md @@ -214,6 +214,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * PolishTracker * Pretome * PrivateHD + * Psytorrents * PTFiles * PuntoTorrent * Redacted (PassTheHeadphones) diff --git a/src/Jackett.Common/Indexers/Psytorrents.cs b/src/Jackett.Common/Indexers/Psytorrents.cs new file mode 100644 index 00000000..09d22c12 --- /dev/null +++ b/src/Jackett.Common/Indexers/Psytorrents.cs @@ -0,0 +1,29 @@ +using Jackett.Indexers.Abstract; +using Jackett.Models; +using Jackett.Services.Interfaces; +using Jackett.Utils.Clients; +using NLog; + +namespace Jackett.Indexers +{ + public class Psytorrents : GazelleTracker + { + public Psytorrents(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService) + : base(name: "Psytorrents", + desc: "Psytorrents (PSY) is a Private Torrent Tracker for ELECTRONIC MUSIC", + link: "https://psytorrents.info/", + configService: configService, + logger: logger, + protectionService: protectionService, + webClient: webClient + ) + { + Language = "en-us"; + Type = "private"; + + AddCategoryMapping(1, TorznabCatType.Audio, "Music"); + AddCategoryMapping(2, TorznabCatType.Movies, "Movies"); + AddCategoryMapping(3, TorznabCatType.PC0day, "App"); + } + } +} -- GitLab