Skip to content

The Free Software Media System - Server Backend & API

don't cache video streams for now

Luke Pulverentic8f895014dc5
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 6cc0b92414..a2894e1e70 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/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);