浏览代码

don't cache video streams for now

Luke Pulverenti 12 年之前
父节点
当前提交
c8f895014d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      MediaBrowser.Api/Playback/BaseStreamingService.cs

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

@@ -633,7 +633,7 @@ namespace MediaBrowser.Api.Playback
 
             ApiEntryPoint.Instance.OnTranscodingFinished(outputFilePath, TranscodingJobType);
 
-            if (!exitCode.HasValue || exitCode.Value != 0)
+            if (!exitCode.HasValue || exitCode.Value != 0 || state.Item is Video)
             {
                 Logger.Info("Deleting partial stream file(s) {0}", outputFilePath);