mirror of
https://github.com/Radarr/Radarr
synced 2026-01-04 14:42:26 +01:00
parent
65850e6a5d
commit
8d264020aa
1 changed files with 0 additions and 10 deletions
|
|
@ -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 a new issue