support subtitle extension in url

This commit is contained in:
Luke Pulverenti 2014-04-26 20:17:13 -04:00
parent c40d3f3494
commit bdffaf22c9

View file

@ -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
{