Browse Source

fix dlna subtitles

Luke Pulverenti 9 years ago
parent
commit
dcc0438b2a
1 changed files with 8 additions and 1 deletions
  1. 8 1
      MediaBrowser.Api/Playback/BaseStreamingService.cs

+ 8 - 1
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);
                 }