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
Devin Buhl 8 years ago committed by GitHub
parent e7d65ee4ae
commit e82cf70399

@ -135,9 +135,16 @@ namespace NzbDrone.Core.NetImport.RSSImport
protected virtual Movie ProcessItem(XElement item, Movie releaseInfo) 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) if (result != null)
{ {

Loading…
Cancel
Save