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