Browse Source

Merge pull request #4062 from BaronGreenback/#4059

Fix for #4059
Bond-009 4 years ago
parent
commit
9cffa66a01
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Jellyfin.Api/Helpers/StreamingHelpers.cs

+ 2 - 1
Jellyfin.Api/Helpers/StreamingHelpers.cs

@@ -1,4 +1,4 @@
-using System;
+using System;
 using System.Collections.Generic;
 using System.Globalization;
 using System.IO;
@@ -92,6 +92,7 @@ namespace Jellyfin.Api.Helpers
             }
 
             var enableDlnaHeaders = !string.IsNullOrWhiteSpace(streamingRequest.Params) ||
+                                    streamingRequest.StreamOptions.ContainsKey("dlnaheaders") ||
                                     string.Equals(httpRequest.Headers["GetContentFeatures.DLNA.ORG"], "1", StringComparison.OrdinalIgnoreCase);
 
             var state = new StreamState(mediaSourceManager, transcodingJobType, transcodingJobHelper)