Преглед на файлове

support subtitle extension in url

Luke Pulverenti преди 11 години
родител
ревизия
bdffaf22c9
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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}", "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
     {
     {