Prevent NullRef on CustomFormat parse
This commit is contained in:
parent
f2b2eb69a3
commit
528feb14c9
|
@ -93,8 +93,12 @@ namespace NzbDrone.Core.CustomFormats
|
|||
}
|
||||
|
||||
public List<CustomFormat> ParseCustomFormat(ParsedEpisodeInfo episodeInfo, Series series)
|
||||
{
|
||||
if (series?.OriginalLanguage != null)
|
||||
{
|
||||
episodeInfo.ExtraInfo["OriginalLanguage"] = series.OriginalLanguage;
|
||||
}
|
||||
|
||||
return ParseCustomFormat(episodeInfo, _formatService.All());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue