From e82cf7039901e2bb12d80531fa63b15368fdc2c5 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Sun, 12 Feb 2017 09:16:15 -0500 Subject: [PATCH] NetImport - Do not allow TV Series / Mini-Series (works with IMDb) #699 (#727) * Do not allow TV Series / Mini-Series (works with IMDb) #699 * Ignore Case --- .../NetImport/RSSImport/RSSImportParser.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/NetImport/RSSImport/RSSImportParser.cs b/src/NzbDrone.Core/NetImport/RSSImport/RSSImportParser.cs index f3244beec..5fc5d48c0 100644 --- a/src/NzbDrone.Core/NetImport/RSSImport/RSSImportParser.cs +++ b/src/NzbDrone.Core/NetImport/RSSImport/RSSImportParser.cs @@ -135,9 +135,16 @@ namespace NzbDrone.Core.NetImport.RSSImport protected virtual Movie ProcessItem(XElement item, Movie releaseInfo) { - var result = Parser.Parser.ParseMovieTitle(GetTitle(item)); + var title = GetTitle(item); - releaseInfo.Title = GetTitle(item); + // Loosely allow movies (will work with IMDB) + if (title.ContainsIgnoreCase("TV Series") || title.ContainsIgnoreCase("Mini-Series")) + { + return null; + } + + releaseInfo.Title = title; + var result = Parser.Parser.ParseMovieTitle(title); if (result != null) {