This should fix all imdbid problems with indexers.

Leonardo Galli 8 years ago
parent 0dc67419be
commit 8f79563cf0

@ -75,7 +75,7 @@ namespace NzbDrone.Core.DecisionEngine
if (remoteMovie.Movie == null)
{
decision = new DownloadDecision(remoteMovie, new Rejection("Unknown movie. Cannot parse release name."));
decision = new DownloadDecision(remoteMovie, new Rejection("Unknown movie. Movie found does not match wanted movie."));
}
else
{

@ -403,7 +403,7 @@ namespace NzbDrone.Core.Parser
if (searchCriteria == null)
{
if (parsedMovieInfo.Year > 1900)
if (parsedMovieInfo.Year > 1800)
{
movie = _movieService.FindByTitle(parsedMovieInfo.MovieTitle, parsedMovieInfo.Year);
}
@ -424,6 +424,12 @@ namespace NzbDrone.Core.Parser
if (movie == null && imdbId.IsNotNullOrWhiteSpace())
{
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)
{
movie = null;
}
}
if (movie == null)

Loading…
Cancel
Save