aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs
diff options
context:
space:
mode:
authorEvan <evan@MacBook-Pro.local>2025-08-15 07:16:41 +0800
committerEvan <evan@MacBook-Pro.local>2025-08-15 07:18:44 +0800
commit29e17b6bc0c002d0de5469d1f795ccacf4a41b56 (patch)
treec0d9cc5a89a8c2e41aea249dbe1ef626495d9960 /Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs
parent50180adc5324027765ff433961852a5a5ae9786b (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/AudioNormalizationTask.cs')
-rw-r--r--Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs1
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)
{