Add regression test for issue #5168
This commit is contained in:
parent
34b38454e0
commit
b0194bce6c
|
@ -64,6 +64,18 @@ namespace Jellyfin.MediaEncoding.Subtitles.Tests
|
||||||
},
|
},
|
||||||
new SubtitleEncoder.SubtitleInfo("/media/sub.srt", MediaProtocol.File, "srt", true));
|
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;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user