|
|
@ -114,11 +114,11 @@ namespace NzbDrone.Core.Tv
|
|
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
movie.AlternativeTitles.AddRange(_titleService.AddAltTitles(movieInfo.AlternativeTitles, movie));
|
|
|
|
|
|
|
|
|
|
|
|
var mappings = _apiClient.AlternativeTitlesAndYearForMovie(movieInfo.TmdbId);
|
|
|
|
var mappings = _apiClient.AlternativeTitlesAndYearForMovie(movieInfo.TmdbId);
|
|
|
|
var mappingsTitles = mappings.Item1;
|
|
|
|
var mappingsTitles = mappings.Item1;
|
|
|
|
|
|
|
|
|
|
|
|
movie.AlternativeTitles.AddRange(_titleService.AddAltTitles(movieInfo.AlternativeTitles, movie));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_titleService.DeleteNotEnoughVotes(mappingsTitles);
|
|
|
|
_titleService.DeleteNotEnoughVotes(mappingsTitles);
|
|
|
|
|
|
|
|
|
|
|
|
mappingsTitles = mappingsTitles.ExceptBy(t => t.CleanTitle, movie.AlternativeTitles,
|
|
|
|
mappingsTitles = mappingsTitles.ExceptBy(t => t.CleanTitle, movie.AlternativeTitles,
|
|
|
|