1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-05 13:21:25 -05:00

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
This commit is contained in:
Devin Buhl
2017-02-12 09:16:15 -05:00
committed by GitHub
parent e7d65ee4ae
commit e82cf70399

View File

@@ -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)
{