Parcourir la source

fixes #294 - Dvd iso not mounting

Luke Pulverenti il y a 12 ans
Parent
commit
8682ee30dd
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  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);