mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
core: allow renaming & merging of trackers with config (part 1 #8355) (#8608) * rename site field to id in yaml indexers * add id field in c# indexers * use id field instead of class name in c#
This commit is contained in:
@@ -29,18 +29,19 @@ namespace Jackett.Common.Indexers
|
||||
private ConfigurationDataBasicLogin ConfigData => (ConfigurationDataBasicLogin)configData;
|
||||
|
||||
public MoreThanTV(IIndexerConfigurationService configService, Utils.Clients.WebClient c, Logger l, IProtectionService ps)
|
||||
: base(name: "MoreThanTV",
|
||||
description: "Private torrent tracker for TV / MOVIES, and the internal tracker for the release group DRACULA.",
|
||||
link: "https://www.morethan.tv/",
|
||||
caps: new TorznabCapabilities(
|
||||
TorznabCatType.Movies,
|
||||
TorznabCatType.TV,
|
||||
TorznabCatType.Other),
|
||||
configService: configService,
|
||||
client: c,
|
||||
logger: l,
|
||||
p: ps,
|
||||
configData: new ConfigurationDataBasicLogin())
|
||||
: base(id: "morethantv",
|
||||
name: "MoreThanTV",
|
||||
description: "Private torrent tracker for TV / MOVIES, and the internal tracker for the release group DRACULA.",
|
||||
link: "https://www.morethan.tv/",
|
||||
caps: new TorznabCapabilities(
|
||||
TorznabCatType.Movies,
|
||||
TorznabCatType.TV,
|
||||
TorznabCatType.Other),
|
||||
configService: configService,
|
||||
client: c,
|
||||
logger: l,
|
||||
p: ps,
|
||||
configData: new ConfigurationDataBasicLogin())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "en-us";
|
||||
|
Reference in New Issue
Block a user