Add regression test for issue #5168

This commit is contained in:
Bond_009 2021-09-18 15:31:45 +02:00
parent 34b38454e0
commit b0194bce6c

View File

@ -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;
}