Przeglądaj źródła

DVD and BDMV folders can not be served directly

Shadowghost 1 rok temu
rodzic
commit
7baa261b22
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Jellyfin.Api/Controllers/VideosController.cs

+ 1 - 1
Jellyfin.Api/Controllers/VideosController.cs

@@ -461,7 +461,7 @@ public class VideosController : BaseJellyfinApiController
         var 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);