From 4fd91456c74af6d0cd5ebcd5ddcf57c2475dc53c Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 16 Dec 2020 17:59:37 +1300 Subject: [PATCH] tvvault- add tvhd and tvsd cats #10412 --- src/Jackett.Common/Indexers/TVVault.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Indexers/TVVault.cs b/src/Jackett.Common/Indexers/TVVault.cs index ff24ae0c9..2e69d4d8a 100644 --- a/src/Jackett.Common/Indexers/TVVault.cs +++ b/src/Jackett.Common/Indexers/TVVault.cs @@ -57,6 +57,9 @@ namespace Jackett.Common.Indexers AddCategoryMapping(1, TorznabCatType.TV); AddCategoryMapping(2, TorznabCatType.Movies); + // as returned by TvCategoryParser.ParseTvShowQuality these two TV cats are required + AddCategoryMapping(3, TorznabCatType.TVHD); + AddCategoryMapping(4, TorznabCatType.TVSD); } public override async Task ApplyConfiguration(JToken configJson) @@ -168,7 +171,7 @@ namespace Jackett.Common.Indexers private string StripSearchString(string term) { // Search does not support searching with episode numbers so strip it if we have one - // Ww AND filter the result later to archive the proper result + // AND filter the result later to achieve the proper result term = Regex.Replace(term, @"[S|E]\d\d", string.Empty); return term.Trim(); }