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
This commit is contained in:
Evan
2025-08-15 07:16:41 +08:00
parent 50180adc53
commit 29e17b6bc0
3 changed files with 3 additions and 0 deletions

View File

@@ -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)
{