Browse Source

Add ConfigureAwait true in MediaBrowser.Providers/MediaInfo/AudioResolver.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Jonas Resch 3 years ago
parent
commit
7b50048020
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MediaBrowser.Providers/MediaInfo/AudioResolver.cs

+ 1 - 1
MediaBrowser.Providers/MediaInfo/AudioResolver.cs

@@ -52,7 +52,7 @@ namespace MediaBrowser.Providers.MediaInfo
             foreach (string path in paths)
             foreach (string path in paths)
             {
             {
                 string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(path);
                 string fileNameWithoutExtension = Path.GetFileNameWithoutExtension(path);
-                Model.MediaInfo.MediaInfo mediaInfo = await GetMediaInfo(path, cancellationToken);
+                Model.MediaInfo.MediaInfo mediaInfo = await GetMediaInfo(path, cancellationToken).ConfigureAwait(false);
 
 
                 foreach (MediaStream mediaStream in mediaInfo.MediaStreams)
                 foreach (MediaStream mediaStream in mediaInfo.MediaStreams)
                 {
                 {