aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlostb1t <coding-mosses0z@icloud.com>2025-11-29 10:20:18 +0100
committerlostb1t <coding-mosses0z@icloud.com>2025-12-21 14:34:27 +0100
commit172b054f487c185efbe3f83639e1e896ca38dcb3 (patch)
tree5e15b0c678fcf3b9588480aed46ac05a5449dbb3
parent2168847a45721c567c69767be28c4ce51fe5523a (diff)
wip
-rw-r--r--MediaBrowser.Model/Dlna/StreamInfo.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Dlna/StreamInfo.cs b/MediaBrowser.Model/Dlna/StreamInfo.cs
index 9cbdf03e1..3efb143bc 100644
--- a/MediaBrowser.Model/Dlna/StreamInfo.cs
+++ b/MediaBrowser.Model/Dlna/StreamInfo.cs
@@ -1264,6 +1264,7 @@ public class StreamInfo
// Check conditions for potentially using the direct path
if (stream.IsExternal // Must be external
+ && stream.SupportsExternalStream
&& string.Equals(stream.Codec, subtitleProfile.Format, StringComparison.OrdinalIgnoreCase) // Format must match (no conversion needed)
&& !string.IsNullOrEmpty(stream.Path) // Path must exist
&& Uri.TryCreate(stream.Path, UriKind.Absolute, out Uri? uriResult) // Path must be an absolute URI