core: remove default categories in c# trackers (#9831)

This commit is contained in:
Diego Heras
2020-10-13 22:17:26 +02:00
committed by GitHub
parent 88b661a91e
commit dcf339a6eb
23 changed files with 89 additions and 141 deletions

View File

@@ -30,7 +30,11 @@ namespace Jackett.Common.Indexers
name: "HD-Space",
description: "Sharing The Universe",
link: "https://hd-space.org/",
caps: TorznabUtil.CreateDefaultTorznabTVCaps(),
caps: new TorznabCapabilities
{
SupportsImdbMovieSearch = true
//SupportsImdbTVSearch = true; (supported by the site but disabled due to #8107)
},
configService: configService,
client: wc,
logger: l,
@@ -40,8 +44,6 @@ namespace Jackett.Common.Indexers
Encoding = Encoding.UTF8;
Language = "en-us";
Type = "private";
TorznabCaps.SupportsImdbMovieSearch = true;
// TorznabCaps.SupportsImdbTVSearch = true; (supported by the site but disabled due to #8107)
AddCategoryMapping(15, TorznabCatType.MoviesBluRay); // Movie / Blu-ray
AddMultiCategoryMapping(TorznabCatType.MoviesHD,