Explorar o código

don't cache video streams for now

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