aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-09-04 23:48:53 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-09-04 23:48:53 -0400
commit91ffff7771cb4ae9f89dbc2cb7a5cec70a3301c2 (patch)
tree4c14c426a7de3469d281ad22110959958c9412a9 /MediaBrowser.Api/Playback
parentdd2798a3d6a03c73067e93b398108d4e8678e8f5 (diff)
added dlna music folders
Diffstat (limited to 'MediaBrowser.Api/Playback')
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs2
-rw-r--r--MediaBrowser.Api/Playback/Hls/VideoHlsService.cs8
2 files changed, 1 insertions, 9 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 5cae6b0104..e20c4c1157 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -788,7 +788,7 @@ namespace MediaBrowser.Api.Playback
/// <returns>System.String.</returns>
protected string GetInputArgument(string transcodingJobId, StreamState state)
{
- if (state.InputProtocol == MediaProtocol.File &&
+ if (SupportsThrottling && state.InputProtocol == MediaProtocol.File &&
state.RunTimeTicks.HasValue &&
state.VideoType == VideoType.VideoFile &&
!string.Equals(state.OutputVideoCodec, "copy", StringComparison.OrdinalIgnoreCase))
diff --git a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs
index 3581b9e172..9f85f64e1a 100644
--- a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs
+++ b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs
@@ -62,14 +62,6 @@ namespace MediaBrowser.Api.Playback.Hls
{
}
- protected override bool SupportsThrottling
- {
- get
- {
- return false;
- }
- }
-
/// <summary>
/// Gets the specified request.
/// </summary>