aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Library/LibraryService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-04-26 20:17:13 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-04-26 20:17:13 -0400
commitbdffaf22c99a114d33a7485f9a9c5766e0fbbcaa (patch)
treec87b5653b75a4ce5285046f045b8c78f02fa4250 /MediaBrowser.Api/Library/LibraryService.cs
parentc40d3f349463c11c69fc2dcf929dc9f768f8fc86 (diff)
support subtitle extension in url
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
-rw-r--r--MediaBrowser.Api/Library/LibraryService.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs
index 0599b45d5..290073652 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
{