Browse Source

support subtitle extension in url

Luke Pulverenti 11 years ago
parent
commit
bdffaf22c9
1 changed files with 1 additions and 0 deletions
  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
     {