Explorar o código

fixes #294 - Dvd iso not mounting

Luke Pulverenti %!s(int64=12) %!d(string=hai) anos
pai
achega
8682ee30dd
Modificáronse 1 ficheiros con 4 adicións e 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);