diff options
| author | Stepan Goremykin <goremukin@gmail.com> | 2023-10-07 23:56:07 +0200 |
|---|---|---|
| committer | Stepan Goremykin <goremukin@gmail.com> | 2023-10-07 23:56:07 +0200 |
| commit | d6b557d9ee0f9b133f66cc3caf67b3068a492f44 (patch) | |
| tree | 5a7a609b56ba4f2fda0ce05c035a3713ecd39406 | |
| parent | 72faeed1db0220b303c99e88c0a980f991ab2415 (diff) | |
Move declaration closer to usage
| -rw-r--r-- | MediaBrowser.Providers/MediaInfo/AudioFileProber.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs b/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs index 44f998742..59b7c6e27 100644 --- a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs +++ b/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs @@ -107,7 +107,6 @@ namespace MediaBrowser.Providers.MediaInfo if (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); |
