redacted: rename old id passtheheadphones #8355 (#8669)

This commit is contained in:
Diego Heras 2020-05-16 00:00:44 +02:00 committed by GitHub
parent 31fbcc1c53
commit ee660bb997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,7 @@ namespace Jackett.Common.Indexers
public class Redacted : GazelleTracker public class Redacted : GazelleTracker
{ {
public Redacted(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps) public Redacted(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
: base(id: "passtheheadphones", : base(id: "redacted",
name: "Redacted", name: "Redacted",
description: "A music tracker", description: "A music tracker",
link: "https://redacted.ch/", link: "https://redacted.ch/",

View File

@ -36,9 +36,10 @@ namespace Jackett.Common.Services
// use: {"<old id>", "<new id>"} // use: {"<old id>", "<new id>"}
private readonly Dictionary<string, string> renamedIndexers = new Dictionary<string, string> private readonly Dictionary<string, string> renamedIndexers = new Dictionary<string, string>
{ {
{"nostalgic", "vhstapes"},
{"passtheheadphones", "redacted"},
{"tehconnectionme", "anthelion"}, {"tehconnectionme", "anthelion"},
{"transmithenet", "nebulance"}, {"transmithenet", "nebulance"}
{"nostalgic", "vhstapes"}
}; };
public IndexerManagerService(IIndexerConfigurationService config, IProtectionService protectionService, WebClient webClient, Logger l, ICacheService cache, IProcessService processService, IConfigurationService globalConfigService, ServerConfig serverConfig) public IndexerManagerService(IIndexerConfigurationService config, IProtectionService protectionService, WebClient webClient, Logger l, ICacheService cache, IProcessService processService, IConfigurationService globalConfigService, ServerConfig serverConfig)