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

Fixed: Don't match if movie year parsed but is mismatch

Fixes #8548
This commit is contained in:
Qstick 2023-05-21 15:20:57 -05:00
parent 65850e6a5d
commit 8d264020aa

View File

@ -192,16 +192,6 @@ private FindMovieResult TryGetMovieByTitleAndOrYear(ParsedMovieInfo parsedMovieI
return new FindMovieResult(movieByTitleAndOrYear, MovieMatchType.Title);
}
// Only default to not using year when one is parsed if only one movie candidate exists
if (candidates != null && candidates.Count == 1)
{
movieByTitleAndOrYear = _movieService.FindByTitle(parsedMovieInfo.MovieTitles, null, otherTitles, candidates);
if (movieByTitleAndOrYear != null)
{
return new FindMovieResult(movieByTitleAndOrYear, MovieMatchType.Title);
}
}
return null;
}