Fix issues with different languages than english when adding alternative titles.

Fixes #509
Leonardo Galli 8 years ago
parent 6cd7d46208
commit 0e81416c2f

@ -100,7 +100,12 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
return null; return null;
} }
var movie = new Movie(); var movie = new Movie();
if (langCode != "us")
{
movie.AlternativeTitles.Add(resource.original_title);
}
foreach (var alternativeTitle in resource.alternative_titles.titles) foreach (var alternativeTitle in resource.alternative_titles.titles)
{ {

Loading…
Cancel
Save