The Free Software Media System - Server Backend & API
Move declaration closer to usage
Stepan Goremykind6b557d9ee0f
diff --git a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs b/MediaBrowser.Providers/MediaInfo/AudioFileProber.csindex 44f998742f..59b7c6e279 100644--- a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs+++ b/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs@@ -107,7 +107,6 @@ namespace MediaBrowser.Providers.MediaInfoif (libraryOptions.EnableLUFSScan){- string output;using (var process = new Process(){StartInfo = new ProcessStartInfo@@ -131,7 +130,7 @@ namespace MediaBrowser.Providers.MediaInfo}using var reader = process.StandardError;- output = await reader.ReadToEndAsync(cancellationToken).ConfigureAwait(false);+ var output = await reader.ReadToEndAsync(cancellationToken).ConfigureAwait(false);cancellationToken.ThrowIfCancellationRequested();MatchCollection split = LUFSRegex().Matches(output);