mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
This should fix all imdbid problems with indexers.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user