|
|
|
@ -48,11 +48,12 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
|
|
|
|
|
return AudioChannelPositionsText.ContainsIgnoreCase("LFE") ? AudioChannels - 1 + 0.1m : AudioChannels;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
decimal channels = 0;
|
|
|
|
|
|
|
|
|
|
decimal.TryParse(AudioChannelPositions.Split('/').First(), out channels);
|
|
|
|
|
|
|
|
|
|
return channels;
|
|
|
|
|
return
|
|
|
|
|
AudioChannelPositions.Replace(" / ", "$")
|
|
|
|
|
.Split('$')
|
|
|
|
|
.First()
|
|
|
|
|
.Split('/')
|
|
|
|
|
.Sum(s => decimal.Parse(s, CultureInfo.InvariantCulture));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|