Explorar el Código

fixes #294 - Dvd iso not mounting

Luke Pulverenti hace 12 años
padre
commit
8682ee30dd
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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);