Fixed: Handle MapSeries when orig language is null

This commit is contained in:
Qstick 2022-11-24 14:33:12 -06:00 committed by GitHub
parent 99e60196a4
commit ea7af03d69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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