- take into account the streams dlnaheaders query parameter set by the DidlBuilder NormalizeDlnaMediaUrl function

This commit is contained in:
Marius Luca 2021-11-30 16:09:02 +02:00
parent 80c7119537
commit eaa003775f

View File

@ -90,6 +90,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)