From dd73b1d30905aff14ace06fde46aff20f9da88bc Mon Sep 17 00:00:00 2001 From: mani Date: Wed, 25 Feb 2026 23:05:57 +0100 Subject: [PATCH] Fix StreamInfo.ToUrl: restore plain key=value for StreamOptions The previous (wrong) change encoded options as streamOptions[key]=value. ParseStreamOptions reads IQueryCollection verbatim, so the key would be stored as "streamOptions[crtShader]" instead of "crtShader", breaking TryGetValue("crtShader"). Restore the original plain format so the server-side lookup works correctly. Co-Authored-By: Claude Sonnet 4.6 --- MediaBrowser.Model/Dlna/StreamInfo.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.Model/Dlna/StreamInfo.cs b/MediaBrowser.Model/Dlna/StreamInfo.cs index 13acd15a3f..c40622d4f3 100644 --- a/MediaBrowser.Model/Dlna/StreamInfo.cs +++ b/MediaBrowser.Model/Dlna/StreamInfo.cs @@ -1122,7 +1122,9 @@ public class StreamInfo foreach (var pair in StreamOptions) { - // Strip spaces to avoid having to encode h264 profile names + // Strip spaces to avoid having to encode h264 profile names. + // Use plain key=value (no streamOptions[] wrapper) so ParseStreamOptions + // on the streaming endpoint picks them up correctly. sb.Append('&'); sb.Append(pair.Key); sb.Append('=');