From 10ae5e9d5ddce23dbf1de83719baa9b47031720c Mon Sep 17 00:00:00 2001 From: CodeMonkey Date: Tue, 9 Oct 2018 15:01:25 -0400 Subject: [PATCH] Make sure release title contains "[HorribleSubs]" (#3947) * This is needed for things like configuring tag restrictions in Sonarr --- src/Jackett.Common/Indexers/HorribleSubs.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Jackett.Common/Indexers/HorribleSubs.cs b/src/Jackett.Common/Indexers/HorribleSubs.cs index ac60f9fea..e24e1afea 100644 --- a/src/Jackett.Common/Indexers/HorribleSubs.cs +++ b/src/Jackett.Common/Indexers/HorribleSubs.cs @@ -135,6 +135,13 @@ namespace Jackett.Common.Indexers continue; } + // Ensure fansub group name is present in the title + // This is needed for things like configuring tag restrictions in Sonarr + if (title.Contains("[HorribleSubs]") == false) + { + title = "[HorribleSubs] " + title; + } + DateTime releasedate; if (dateStr == "Today") {