瀏覽代碼

Fix playback of complex BluRay ISOs (#6166)

Stan 4 年之前
父節點
當前提交
adf406b182

+ 2 - 1
MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

@@ -367,7 +367,8 @@ namespace MediaBrowser.MediaEncoding.Encoder
         public string GetInputArgument(string inputFile, MediaSourceInfo mediaSource)
         public string GetInputArgument(string inputFile, MediaSourceInfo mediaSource)
         {
         {
             var prefix = "file";
             var prefix = "file";
-            if (mediaSource.VideoType == VideoType.BluRay)
+            if (mediaSource.VideoType == VideoType.BluRay
+                || mediaSource.IsoType == IsoType.BluRay)
             {
             {
                 prefix = "bluray";
                 prefix = "bluray";
             }
             }

+ 2 - 1
MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs

@@ -147,7 +147,8 @@ namespace MediaBrowser.Providers.MediaInfo
                     {
                     {
                         Path = path,
                         Path = path,
                         Protocol = protocol,
                         Protocol = protocol,
-                        VideoType = item.VideoType
+                        VideoType = item.VideoType,
+                        IsoType = item.IsoType
                     }
                     }
                 },
                 },
                 cancellationToken);
                 cancellationToken);