The Free Software Media System - Server Backend & API
Add new options for segment deletion
Dominik832b36562aef
diff --git a/MediaBrowser.Model/Configuration/EncodingOptions.cs b/MediaBrowser.Model/Configuration/EncodingOptions.csindex f4cd2f0065..c23d4e6422 100644--- a/MediaBrowser.Model/Configuration/EncodingOptions.cs+++ b/MediaBrowser.Model/Configuration/EncodingOptions.cs@@ -11,7 +11,9 @@ namespace MediaBrowser.Model.ConfigurationDownMixAudioBoost = 2;MaxMuxingQueueSize = 2048;EnableThrottling = false;+ EnableSegmentDeletion = false;ThrottleDelaySeconds = 180;+ SegmentKeepSeconds = 200;EncodingThreadCount = -1;// This is a DRM device that is almost guaranteed to be there on every intel platform,// plus it's the default one in ffmpeg if you don't specify anything@@ -57,8 +59,12 @@ namespace MediaBrowser.Model.Configurationpublic bool EnableThrottling { get; set; }+ public bool EnableSegmentDeletion { get; set; }+public int ThrottleDelaySeconds { get; set; }+ public int SegmentKeepSeconds { get; set; }+public string HardwareAccelerationType { get; set; }/// <summary>