Browse Source

fixes #294 - Dvd iso not mounting

Luke Pulverenti 12 năm trước cách đây
mục cha
commit
8682ee30dd
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      MediaBrowser.Api/Playback/BaseStreamingService.cs

+ 4 - 1
MediaBrowser.Api/Playback/BaseStreamingService.cs

@@ -533,7 +533,10 @@ namespace MediaBrowser.Api.Playback
 
             if (video != null)
             {
-                inputPath = MediaEncoderHelpers.GetInputArgument(video, isoMount, out type);
+                if (!(video.VideoType == VideoType.Iso && isoMount == null))
+                {
+                    inputPath = MediaEncoderHelpers.GetInputArgument(video, isoMount, out type);
+                }
             }
 
             return MediaEncoder.GetInputArgument(inputPath, type);