aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/BaseStreamingService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-25 11:52:10 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-25 11:52:10 -0400
commit55b284cdffd0609a39af4499e582f24cb1cf7524 (patch)
tree8198ccd10161e5a4f9ae186e325ac67cd3227b18 /MediaBrowser.Api/Playback/BaseStreamingService.cs
parente8bb5c4b9a615c14d569c2fb925b008d1e3cd418 (diff)
add user profile settings about virtual episodes
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 067b47d82..646230160 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -399,6 +399,12 @@ namespace MediaBrowser.Api.Playback
/// <returns>System.String.</returns>
private string GetConvertedAssPath(Video video, MediaStream subtitleStream, long? startTimeTicks, bool performConversion)
{
+ // If it's already ass, no conversion neccessary
+ //if (string.Equals(Path.GetExtension(subtitleStream.Path), ".ass", StringComparison.OrdinalIgnoreCase))
+ //{
+ // return subtitleStream.Path;
+ //}
+
var offset = TimeSpan.FromTicks(startTimeTicks ?? 0);
var path = Kernel.Instance.FFMpegManager.GetSubtitleCachePath(video, subtitleStream.Index, offset, ".ass");