Add regression test for issue #5168

pull/6563/head
Bond_009 3 years ago
parent 34b38454e0
commit b0194bce6c

@ -64,6 +64,18 @@ namespace Jellyfin.MediaEncoding.Subtitles.Tests
},
new SubtitleEncoder.SubtitleInfo("/media/sub.srt", MediaProtocol.File, "srt", true));
data.Add(
new MediaSourceInfo()
{
Protocol = MediaProtocol.Http
},
new MediaStream()
{
Path = "/media/sub.ass",
IsExternal = true
},
new SubtitleEncoder.SubtitleInfo("/media/sub.ass", MediaProtocol.File, "ass", true));
return data;
}

Loading…
Cancel
Save