From 7bbd2246c43cf6ff34e5539450e8d5e829588332 Mon Sep 17 00:00:00 2001 From: ta264 Date: Fri, 24 Dec 2021 17:47:17 +0000 Subject: [PATCH] Fix secondary ffprobe scan --- src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs b/src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs index 00244815b..113775a16 100644 --- a/src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs +++ b/src/NzbDrone.Core/MediaFiles/MediaInfo/VideoFileInfoReader.cs @@ -63,7 +63,7 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo var analysis = FFProbe.AnalyseStreamJson(ffprobeOutput); - if (analysis.PrimaryAudioStream?.ChannelLayout.IsNullOrWhiteSpace() ?? false) + if (analysis.PrimaryAudioStream?.ChannelLayout.IsNullOrWhiteSpace() ?? true) { ffprobeOutput = FFProbe.GetStreamJson(filename, ffOptions: new FFOptions { ExtraArguments = "-probesize 150000000 -analyzeduration 150000000" }); analysis = FFProbe.AnalyseStreamJson(ffprobeOutput);