diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-09-05 21:26:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-05 21:26:55 +0200 |
| commit | 9cffa66a015c5200e461f396cd408949591d9552 (patch) | |
| tree | f1e7f3a81dd02eaf2478c2d74a9ff548f11bc76e | |
| parent | 6d154041b9e456ab97e1066f525e4d9732fb672a (diff) | |
| parent | ac7636ea1ea9b028e98b8f59588ba82ebfffda89 (diff) | |
Merge pull request #4062 from BaronGreenback/#4059
Fix for #4059
| -rw-r--r-- | Jellyfin.Api/Helpers/StreamingHelpers.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/StreamingHelpers.cs b/Jellyfin.Api/Helpers/StreamingHelpers.cs index b12590080..c11799bc8 100644 --- a/Jellyfin.Api/Helpers/StreamingHelpers.cs +++ b/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) |
