From e15225f4fcbd44686dc704741014112c37f5c3fb Mon Sep 17 00:00:00 2001 From: Leonardo Galli Date: Thu, 23 Aug 2018 22:58:48 +0200 Subject: [PATCH] Fixed: Files that cannot be parsed, kill bulk import. Fixes #2979 --- src/NzbDrone.Api/Movies/MovieBulkImportModule.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Api/Movies/MovieBulkImportModule.cs b/src/NzbDrone.Api/Movies/MovieBulkImportModule.cs index 9bd005f43..dee23aa3f 100644 --- a/src/NzbDrone.Api/Movies/MovieBulkImportModule.cs +++ b/src/NzbDrone.Api/Movies/MovieBulkImportModule.cs @@ -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,