Explorar o código

support subtitle extension in url

Luke Pulverenti %!s(int64=11) %!d(string=hai) anos
pai
achega
bdffaf22c9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      MediaBrowser.Api/Library/LibraryService.cs

+ 1 - 0
MediaBrowser.Api/Library/LibraryService.cs

@@ -37,6 +37,7 @@ namespace MediaBrowser.Api.Library
     }
 
     [Route("/Videos/{Id}/Subtitles/{Index}", "GET")]
+    [Route("/Videos/{Id}/Subtitles/{Index}/stream.srt", "GET")]
     [Api(Description = "Gets an external subtitle file")]
     public class GetSubtitle
     {