mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07: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 @@ 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…
Add table
Add a link
Reference in a new issue