mirror of https://github.com/jellyfin/jellyfin.git
DVD and BDMV folders can not be served directly
This commit is contained in:
parent
52c79c050b
commit
7baa261b22
|
@ -461,7 +461,7 @@ public class VideosController : BaseJellyfinApiController
|
||||||
var outputPath = state.OutputFilePath;
|
var outputPath = state.OutputFilePath;
|
||||||
|
|
||||||
// Static stream
|
// Static stream
|
||||||
if (@static.HasValue && @static.Value)
|
if (@static.HasValue && @static.Value && !(state.MediaSource.VideoType == VideoType.BluRay || state.MediaSource.VideoType == VideoType.Dvd))
|
||||||
{
|
{
|
||||||
var contentType = state.GetMimeType("." + state.OutputContainer, false) ?? state.GetMimeType(state.MediaPath);
|
var contentType = state.GetMimeType("." + state.OutputContainer, false) ?? state.GetMimeType(state.MediaPath);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue