Fixed: Files that cannot be parsed, kill bulk import.

Fixes #2979
pull/2948/head
Leonardo Galli 6 years ago
parent 79e570e571
commit e15225f4fc

@ -94,7 +94,6 @@ namespace NzbDrone.Api.Movies
}
var parsedTitle = _parsingService.ParseMinimalPathMovieInfo(f.Name);
parsedTitle.ImdbId = Parser.ParseImdbId(parsedTitle.SimpleReleaseTitle);
if (parsedTitle == null)
{
m = new Core.Movies.Movie
@ -105,6 +104,8 @@ namespace NzbDrone.Api.Movies
}
else
{
parsedTitle.ImdbId = Parser.ParseImdbId(parsedTitle.SimpleReleaseTitle);
m = new Core.Movies.Movie
{
Title = parsedTitle.MovieTitle,

Loading…
Cancel
Save