mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 04:51:45 +02:00
Fixed error when downloading a movie.
This commit is contained in:
@@ -92,6 +92,10 @@ namespace NzbDrone.Core.DecisionEngine
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_logger.Trace("{0} could not be parsed :(.", report.Title);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@@ -426,7 +426,7 @@ namespace NzbDrone.Core.Parser
|
||||
movie = _movieService.FindByImdbId(imdbId);
|
||||
|
||||
//Should fix practically all problems, where indexer is shite at adding correct imdbids to movies.
|
||||
if (parsedMovieInfo.Year > 1800 && parsedMovieInfo.Year != movie.Year)
|
||||
if (movie != null && parsedMovieInfo.Year > 1800 && parsedMovieInfo.Year != movie.Year)
|
||||
{
|
||||
movie = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user