aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/BaseStreamingService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-05-24 14:33:28 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-05-24 14:33:28 -0400
commitf26a639a36aed431a9090fb833358871f2192e74 (patch)
tree475018d7c613e12d922dc6d7b5a76c0043c26293 /MediaBrowser.Api/Playback/BaseStreamingService.cs
parenta2b1977f608db4a6df6e346f8b1ba0537d9ae495 (diff)
fix audio-only hls
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs26
1 files changed, 0 insertions, 26 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index a36b65f744..0b8f21129d 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -148,7 +148,6 @@ namespace MediaBrowser.Api.Playback
}
protected readonly CultureInfo UsCulture = new CultureInfo("en-US");
- private readonly long _slowSeekTicks = TimeSpan.FromSeconds(0).Ticks;
/// <summary>
/// Gets the fast seek command line parameter.
@@ -162,37 +161,12 @@ namespace MediaBrowser.Api.Playback
if (time > 0)
{
- if (time > _slowSeekTicks && EnableSlowSeek)
- {
- time -= _slowSeekTicks;
- }
-
- return string.Format("-ss {0}", MediaEncoder.GetTimeParameter(time));
- }
-
- return string.Empty;
- }
-
- protected string GetSlowSeekCommandLineParameter(StreamRequest request)
- {
- var time = request.StartTimeTicks ?? 0;
-
- if (time > _slowSeekTicks && _slowSeekTicks > 0)
- {
return string.Format("-ss {0}", MediaEncoder.GetTimeParameter(time));
}
return string.Empty;
}
- protected virtual bool EnableSlowSeek
- {
- get
- {
- return false;
- }
- }
-
/// <summary>
/// Gets the map args.
/// </summary>