mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
parent
65850e6a5d
commit
8d264020aa
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user