Fixed: Fix NullRef in Subtitle Service due to #4924

This commit is contained in:
Qstick 2022-08-20 17:24:42 -05:00
parent 86b895abe0
commit 89ee7d4452
1 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,11 @@ namespace NzbDrone.Core.Extras.Subtitles
{
public class SubtitleFile : ExtraFile
{
public SubtitleFile()
{
LanguageTags = new List<string>();
}
public Language Language { get; set; }
public string AggregateString => Language + LanguageTagsAsString + Extension;