Fixed: Handle MapSeries when orig language is null
This commit is contained in:
parent
99e60196a4
commit
ea7af03d69
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue