1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-25 15:43:08 +00:00

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

Fixes #509
This commit is contained in:
Leonardo Galli 2017-01-30 17:29:42 +01:00
parent 6cd7d46208
commit 0e81416c2f

View file

@ -100,7 +100,12 @@ public Movie GetMovieInfo(int TmdbId, Profile profile = 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)
{