mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
* Do not allow TV Series / Mini-Series (works with IMDb) #699 * Ignore Case
This commit is contained in:
parent
e7d65ee4ae
commit
e82cf70399
1 changed files with 9 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue