1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

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

Fixes #2979
This commit is contained in:
Leonardo Galli 2018-08-23 22:58:48 +02:00
parent 79e570e571
commit e15225f4fc

View File

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