Fix secondary ffprobe scan

This commit is contained in:
ta264 2021-12-24 17:47:17 +00:00
parent 59fed13442
commit 7bbd2246c4
1 changed files with 1 additions and 1 deletions

View File

@ -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);