aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Dlna/StreamInfo.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-03-10 15:48:35 +0100
committerGitHub <noreply@github.com>2023-03-10 15:48:35 +0100
commit6351d1022bffb1d0f152175965774eb709e143cb (patch)
treec37c8e4c0311f31201f2a86702d74570c55979ae /MediaBrowser.Model/Dlna/StreamInfo.cs
parent2146ddd20c5b8fe7a5bbe09d9ab0dbc18b1706f5 (diff)
parent0da5255f1291ba510f829d36a3ca1a9eb65590dc (diff)
Merge pull request #9254 from Shadowghost/dvdbdfix
Diffstat (limited to 'MediaBrowser.Model/Dlna/StreamInfo.cs')
-rw-r--r--MediaBrowser.Model/Dlna/StreamInfo.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/MediaBrowser.Model/Dlna/StreamInfo.cs b/MediaBrowser.Model/Dlna/StreamInfo.cs
index 93ace43df..886b64a24 100644
--- a/MediaBrowser.Model/Dlna/StreamInfo.cs
+++ b/MediaBrowser.Model/Dlna/StreamInfo.cs
@@ -107,9 +107,8 @@ namespace MediaBrowser.Model.Dlna
public string MediaSourceId => MediaSource?.Id;
- public bool IsDirectStream =>
- PlayMethod == PlayMethod.DirectStream ||
- PlayMethod == PlayMethod.DirectPlay;
+ public bool IsDirectStream => MediaSource?.VideoType is not (VideoType.Dvd or VideoType.BluRay)
+ && PlayMethod is PlayMethod.DirectStream or PlayMethod.DirectPlay;
/// <summary>
/// Gets the audio stream that will be used.