#72 - Subtitle path

This commit is contained in:
Luke Pulverenti 2013-04-03 16:30:56 -04:00
parent f26ee72829
commit 22a3ed0cd4
2 changed files with 2 additions and 2 deletions

View file

@ -286,7 +286,7 @@ namespace MediaBrowser.Api.Playback
return string.Empty;
}
var param = string.Format(",ass={0}", path);
var param = string.Format(",ass={0}", path.Replace('\\', '/').Replace(":/", "\\:/"));
if (startTimeTicks.HasValue)
{

View file

@ -35,7 +35,7 @@ namespace MediaBrowser.Api.Playback.Progressive
[Route("/Videos/{Id}/stream.avi", "HEAD")]
[Route("/Videos/{Id}/stream.m2ts", "HEAD")]
[Route("/Videos/{Id}/stream", "HEAD")]
[ServiceStack.ServiceHost.Api(Description = "Gets a video stream")]
[Api(Description = "Gets a video stream")]
public class GetVideoStream : VideoStreamRequest
{