core: remove virtual member calls (part 1) (#8011)

This commit is contained in:
Diego Heras
2020-04-04 00:37:42 +02:00
committed by GitHub
parent 933f983fdf
commit b2390bb954
26 changed files with 102 additions and 85 deletions

View File

@@ -27,7 +27,11 @@ namespace Jackett.Common.Indexers
: base("Elite-Tracker",
description: "French Torrent Tracker",
link: "https://elite-tracker.net/",
caps: new TorznabCapabilities(),
caps: new TorznabCapabilities
{
SupportsImdbMovieSearch = true,
SupportsImdbTVSearch = true
},
configService: configService,
logger: logger,
p: protectionService,
@@ -39,9 +43,6 @@ namespace Jackett.Common.Indexers
Language = "fr-fr";
Type = "private";
TorznabCaps.SupportsImdbMovieSearch = true;
TorznabCaps.SupportsImdbTVSearch = true;
AddCategoryMapping(27, TorznabCatType.TVAnime, "Animation/Animes");
AddCategoryMapping(90, TorznabCatType.TVAnime, "Animes - 3D");
AddCategoryMapping(99, TorznabCatType.TVAnime, "Animes - 4K");