mirror of
https://github.com/Radarr/Radarr
synced 2024-12-29 11:25:26 +00:00
This should fix all imdbid problems with indexers.
This commit is contained in:
parent
0dc67419be
commit
8f79563cf0
2 changed files with 8 additions and 2 deletions
|
@ -75,7 +75,7 @@ private IEnumerable<DownloadDecision> GetMovieDecisions(List<ReleaseInfo> report
|
|||
|
||||
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 @@ private Movie GetMovie(ParsedMovieInfo parsedMovieInfo, string imdbId, SearchCri
|
|||
|
||||
if (searchCriteria == null)
|
||||
{
|
||||
if (parsedMovieInfo.Year > 1900)
|
||||
if (parsedMovieInfo.Year > 1800)
|
||||
{
|
||||
movie = _movieService.FindByTitle(parsedMovieInfo.MovieTitle, parsedMovieInfo.Year);
|
||||
}
|
||||
|
@ -424,6 +424,12 @@ private Movie GetMovie(ParsedMovieInfo parsedMovieInfo, string imdbId, SearchCri
|
|||
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…
Reference in a new issue