mirror of
https://github.com/Radarr/Radarr
synced 2026-03-04 19:42:31 +01:00
Fix issues with different languages than english when adding alternative titles.
Fixes #509
This commit is contained in:
parent
6cd7d46208
commit
0e81416c2f
1 changed files with 6 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue