Really fix Original Language in MapSeries

Fixes #5246
This commit is contained in:
Qstick 2022-11-27 12:14:28 -06:00
parent ca04c93666
commit 3a2a030432
1 changed files with 3 additions and 1 deletions

View File

@ -174,7 +174,9 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
series.CleanTitle = Parser.Parser.CleanSeriesTitle(show.Title);
series.SortTitle = SeriesTitleNormalizer.Normalize(show.Title, show.TvdbId);
series.OriginalLanguage = IsoLanguages.Find(show.OriginalLanguage?.ToLower())?.Language ?? Language.English;
series.OriginalLanguage = show.OriginalLanguage.IsNotNullOrWhiteSpace() ?
IsoLanguages.Find(show.OriginalLanguage.ToLower())?.Language ?? Language.English :
Language.English;
if (show.FirstAired != null)
{