Skip to content

The Free Software Media System - Server Backend & API

Subtitle Path (#72)

Luke Pulverenti6dd22c82072a
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 5ecff74f9f..9a264a7ba5 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -286,7 +286,7 @@ namespace MediaBrowser.Api.Playback
return string.Empty;
}
- var param = string.Format(",ass={0}", path.Replace('\\', '/').Replace(":/", "\\:/"));
+ var param = string.Format(",ass='{0}'", path.Replace('\\', '/').Replace(":/", "\\:/"));
if (startTimeTicks.HasValue)
{