Parcourir la source

support subtitle extension in url

Luke Pulverenti il y a 11 ans
Parent
commit
bdffaf22c9
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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
     {