diff options
| author | Cody Robibero <cody@robibe.ro> | 2026-08-20 18:10:50 -0400 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2026-08-20 18:10:50 -0400 |
| commit | 9ba91d4583f3671eaacae8e073fb53288f9b8715 (patch) | |
| tree | f17354faa2c854d4b6f46b26d9e8517675565f22 /Emby.Server.Implementations/ScheduledTasks/Tasks | |
| parent | a8da0664a387aa871f7c0ee03fd3f53c82d00346 (diff) | |
Normalize fix, apply in more places
Diffstat (limited to 'Emby.Server.Implementations/ScheduledTasks/Tasks')
| -rw-r--r-- | Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs index e4939205c9..29b633530f 100644 --- a/Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs +++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/AudioNormalizationTask.cs @@ -174,7 +174,7 @@ public partial class AudioNormalizationTask : IScheduledTask if (!t.NormalizationGain.HasValue && !t.LUFS.HasValue && t.IsFileProtocol) { t.LUFS = await CalculateLUFSAsync( - string.Format(CultureInfo.InvariantCulture, "-i \"{0}\"", t.Path.Replace("\"", "\\\"", StringComparison.Ordinal)), + string.Format(CultureInfo.InvariantCulture, "-i \"{0}\"", t.Path.EscapeProcessArgument()), false, cancellationToken).ConfigureAwait(false); toSaveDbItems.Add(t); |
