Browse Source

support subtitle extension in url

Luke Pulverenti 11 năm trước cách đây
mục cha
commit
bdffaf22c9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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
     {