From dcc0438b2a79dd7c77c037eeb504e5457001873c Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 26 May 2016 23:46:40 -0400 Subject: [PATCH] fix dlna subtitles --- MediaBrowser.Api/Playback/BaseStreamingService.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 @@ -1518,6 +1518,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) { @@ -1528,7 +1535,7 @@ namespace MediaBrowser.Api.Playback } } } - else if (i == 26) + else if (i == 27) { request.TranscodingMaxAudioChannels = int.Parse(val, UsCulture); }