Run background ffmpeg tasks as ProcessPriorityClass.BelowNormal (#14651)
Follow TrickPlay example of running other background ffmpeg tasks as ProcessPriorityClass.BelowNormal: - Keyframe extraction - Media info probing during library scans - Audio normalization - Image extraction Co-authored-by: Evan <evan@MacBook-Pro.local>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user