mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
- take into account the streams dlnaheaders query parameter set by the DidlBuilder NormalizeDlnaMediaUrl function
This commit is contained in:
parent
80c7119537
commit
eaa003775f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user