From ea7af03d69c017ab40f9a1e72b7fce08eb8c9443 Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 24 Nov 2022 14:33:12 -0600 Subject: [PATCH] Fixed: Handle MapSeries when orig language is null --- src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs b/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs index 8d52651ce..3552a0aa3 100644 --- a/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs +++ b/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs @@ -160,7 +160,7 @@ 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 = IsoLanguages.Find(show.OriginalLanguage?.ToLower())?.Language ?? Language.English; if (show.FirstAired != null) {