From bdffaf22c99a114d33a7485f9a9c5766e0fbbcaa Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 26 Apr 2014 20:17:13 -0400 Subject: [PATCH] support subtitle extension in url --- MediaBrowser.Api/Library/LibraryService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs index 0599b45d58..2900736529 100644 --- a/MediaBrowser.Api/Library/LibraryService.cs +++ b/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 {