From ee660bb99789e38f4eabb1c92fb23e1789a8184d Mon Sep 17 00:00:00 2001 From: Diego Heras Date: Sat, 16 May 2020 00:00:44 +0200 Subject: [PATCH] redacted: rename old id passtheheadphones #8355 (#8669) --- src/Jackett.Common/Indexers/Redacted.cs | 2 +- src/Jackett.Common/Services/IndexerManagerService.cs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Jackett.Common/Indexers/Redacted.cs b/src/Jackett.Common/Indexers/Redacted.cs index ee102f6b2..b5f0b2ed0 100644 --- a/src/Jackett.Common/Indexers/Redacted.cs +++ b/src/Jackett.Common/Indexers/Redacted.cs @@ -14,7 +14,7 @@ namespace Jackett.Common.Indexers public class Redacted : GazelleTracker { public Redacted(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps) - : base(id: "passtheheadphones", + : base(id: "redacted", name: "Redacted", description: "A music tracker", link: "https://redacted.ch/", diff --git a/src/Jackett.Common/Services/IndexerManagerService.cs b/src/Jackett.Common/Services/IndexerManagerService.cs index ffb6966b2..ea862a93b 100644 --- a/src/Jackett.Common/Services/IndexerManagerService.cs +++ b/src/Jackett.Common/Services/IndexerManagerService.cs @@ -36,9 +36,10 @@ namespace Jackett.Common.Services // use: {"", ""} private readonly Dictionary renamedIndexers = new Dictionary { + {"nostalgic", "vhstapes"}, + {"passtheheadphones", "redacted"}, {"tehconnectionme", "anthelion"}, - {"transmithenet", "nebulance"}, - {"nostalgic", "vhstapes"} + {"transmithenet", "nebulance"} }; public IndexerManagerService(IIndexerConfigurationService config, IProtectionService protectionService, WebClient webClient, Logger l, ICacheService cache, IProcessService processService, IConfigurationService globalConfigService, ServerConfig serverConfig)