diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-03-10 15:48:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-10 15:48:35 +0100 |
| commit | 6351d1022bffb1d0f152175965774eb709e143cb (patch) | |
| tree | c37c8e4c0311f31201f2a86702d74570c55979ae /MediaBrowser.Model/Dlna/StreamInfo.cs | |
| parent | 2146ddd20c5b8fe7a5bbe09d9ab0dbc18b1706f5 (diff) | |
| parent | 0da5255f1291ba510f829d36a3ca1a9eb65590dc (diff) | |
Merge pull request #9254 from Shadowghost/dvdbdfix
Diffstat (limited to 'MediaBrowser.Model/Dlna/StreamInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/Dlna/StreamInfo.cs | 5 |
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. |
