diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-05-28 19:48:26 -0400 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2016-05-28 19:48:26 -0400 |
| commit | e205caee0380dc49ef4bcdb0016ef38a0c3a9ea5 (patch) | |
| tree | 75409d7a5c9317cdf0a1daaca8bd3fcc2fb1f25f /MediaBrowser.Api/Playback/BaseStreamingService.cs | |
| parent | 996da16d9030b9f33d834536503d10991ec09c29 (diff) | |
| parent | 2e2766bd19d6d974abe11284cc065ee7692ae1ed (diff) | |
Merge pull request #1786 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index 421ccdb5d..253e3d8e4 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -1519,6 +1519,13 @@ namespace MediaBrowser.Api.Playback } else if (i == 25) { + if (videoRequest != null) + { + videoRequest.ForceLiveStream = string.Equals("true", val, StringComparison.OrdinalIgnoreCase); + } + } + else if (i == 26) + { if (!string.IsNullOrWhiteSpace(val) && videoRequest != null) { SubtitleDeliveryMethod method; @@ -1528,7 +1535,7 @@ namespace MediaBrowser.Api.Playback } } } - else if (i == 26) + else if (i == 27) { request.TranscodingMaxAudioChannels = int.Parse(val, UsCulture); } |
