1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 02:22:31 +01:00

Always include decimal place for AudioChannels

This commit is contained in:
Mark McDowall 2016-08-11 18:06:03 -07:00
parent 459715b9b4
commit 04ca1e4569

View File

@ -521,7 +521,7 @@ private void AddMediaInfoTokens(Dictionary<string, Func<TokenMatch, string>> tok
var videoBitDepth = episodeFile.MediaInfo.VideoBitDepth > 0 ? episodeFile.MediaInfo.VideoBitDepth.ToString() : string.Empty;
var audioChannels = episodeFile.MediaInfo.FormattedAudioChannels > 0 ?
episodeFile.MediaInfo.FormattedAudioChannels.ToString(CultureInfo.InvariantCulture) :
episodeFile.MediaInfo.FormattedAudioChannels.ToString("F1", CultureInfo.InvariantCulture) :
string.Empty;
tokenHandlers["{MediaInfo Video}"] = m => videoCodec;