diff options
| author | Dominik <git@secnd.me> | 2022-11-14 10:11:25 +0100 |
|---|---|---|
| committer | Dominik <git@secnd.me> | 2022-11-14 10:11:25 +0100 |
| commit | 832b36562aef04b2c0f6d012920fcf80e0dd080c (patch) | |
| tree | 5ab8059fedcfe09eada0659ad9fcc20a92c14996 | |
| parent | 5f274beded71a84a28165f5514f1349fd392b3b6 (diff) | |
Add new options for segment deletion
| -rw-r--r-- | MediaBrowser.Model/Configuration/EncodingOptions.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/EncodingOptions.cs b/MediaBrowser.Model/Configuration/EncodingOptions.cs index f4cd2f006..c23d4e642 100644 --- a/MediaBrowser.Model/Configuration/EncodingOptions.cs +++ b/MediaBrowser.Model/Configuration/EncodingOptions.cs @@ -11,7 +11,9 @@ namespace MediaBrowser.Model.Configuration DownMixAudioBoost = 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.Configuration public 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> |
