mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-22 05:30:46 +02:00
support subtitle extension in url
This commit is contained in:
parent
c40d3f3494
commit
bdffaf22c9
|
@ -37,6 +37,7 @@ namespace MediaBrowser.Api.Library
|
||||||
}
|
}
|
||||||
|
|
||||||
[Route("/Videos/{Id}/Subtitles/{Index}", "GET")]
|
[Route("/Videos/{Id}/Subtitles/{Index}", "GET")]
|
||||||
|
[Route("/Videos/{Id}/Subtitles/{Index}/stream.srt", "GET")]
|
||||||
[Api(Description = "Gets an external subtitle file")]
|
[Api(Description = "Gets an external subtitle file")]
|
||||||
public class GetSubtitle
|
public class GetSubtitle
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue