The Free Software Media System - Server Backend & API
added dlnaheaders
BaronGreenbackac7636ea1ea9
diff --git a/Jellyfin.Api/Helpers/StreamingHelpers.cs b/Jellyfin.Api/Helpers/StreamingHelpers.csindex b12590080c..c11799bc8c 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)