mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 17:59:14 +00:00
Fixed: Alt Titles from TMDB not getting added when mappings server throws 404
Fixes #2535
This commit is contained in:
parent
fa212872ab
commit
e071850d4c
1 changed files with 2 additions and 2 deletions
|
@ -114,11 +114,11 @@ private void RefreshMovieInfo(Movie movie)
|
|||
|
||||
try
|
||||
{
|
||||
movie.AlternativeTitles.AddRange(_titleService.AddAltTitles(movieInfo.AlternativeTitles, movie));
|
||||
|
||||
var mappings = _apiClient.AlternativeTitlesAndYearForMovie(movieInfo.TmdbId);
|
||||
var mappingsTitles = mappings.Item1;
|
||||
|
||||
movie.AlternativeTitles.AddRange(_titleService.AddAltTitles(movieInfo.AlternativeTitles, movie));
|
||||
|
||||
_titleService.DeleteNotEnoughVotes(mappingsTitles);
|
||||
|
||||
mappingsTitles = mappingsTitles.ExceptBy(t => t.CleanTitle, movie.AlternativeTitles,
|
||||
|
|
Loading…
Reference in a new issue