Преглед на файлове

fixes #294 - Dvd iso not mounting

Luke Pulverenti преди 12 години
родител
ревизия
8682ee30dd
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  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);