The Free Software Media System - Server Backend & API
DVD and BDMV folders can not be served directly
Shadowghost7baa261b22b0
diff --git a/Jellyfin.Api/Controllers/VideosController.cs b/Jellyfin.Api/Controllers/VideosController.csindex e6c3198698..83f04d5bef 100644--- a/Jellyfin.Api/Controllers/VideosController.cs+++ b/Jellyfin.Api/Controllers/VideosController.cs@@ -461,7 +461,7 @@ public class VideosController : BaseJellyfinApiControllervar outputPath = state.OutputFilePath;// 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);