diff options
| author | Evan <evan@MacBook-Pro.local> | 2025-08-15 07:16:41 +0800 |
|---|---|---|
| committer | Evan <evan@MacBook-Pro.local> | 2025-08-15 07:18:44 +0800 |
| commit | 29e17b6bc0c002d0de5469d1f795ccacf4a41b56 (patch) | |
| tree | c0d9cc5a89a8c2e41aea249dbe1ef626495d9960 /Emby.Server.Implementations/ScheduledTasks/Tasks | |
| parent | 50180adc5324027765ff433961852a5a5ae9786b (diff) | |
Run background ffmpeg tasks as ProcessPriorityClass.BelowNormal
Follow TrickPlay example of running other background ffmpeg tasks as ProcessPriorityClass.BelowNormal:
- Keyframe extraction
- Media info probing during library scans
- Audio normalization
- Image extraction
Diffstat (limited to 'Emby.Server.Implementations/ScheduledTasks/Tasks')
| -rw-r--r-- | Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs index e912e9f01..24992c44a 100644 --- a/Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs +++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs @@ -199,6 +199,7 @@ public partial class AudioNormalizationTask : IScheduledTask { _logger.LogDebug("Starting ffmpeg with arguments: {Arguments}", args); process.Start(); + process.PriorityClass = ProcessPriorityClass.BelowNormal; } catch (Exception ex) { |
