mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Always include decimal place for AudioChannels
This commit is contained in:
parent
459715b9b4
commit
04ca1e4569
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ namespace NzbDrone.Core.Organizer
|
||||||
|
|
||||||
var videoBitDepth = episodeFile.MediaInfo.VideoBitDepth > 0 ? episodeFile.MediaInfo.VideoBitDepth.ToString() : string.Empty;
|
var videoBitDepth = episodeFile.MediaInfo.VideoBitDepth > 0 ? episodeFile.MediaInfo.VideoBitDepth.ToString() : string.Empty;
|
||||||
var audioChannels = episodeFile.MediaInfo.FormattedAudioChannels > 0 ?
|
var audioChannels = episodeFile.MediaInfo.FormattedAudioChannels > 0 ?
|
||||||
episodeFile.MediaInfo.FormattedAudioChannels.ToString(CultureInfo.InvariantCulture) :
|
episodeFile.MediaInfo.FormattedAudioChannels.ToString("F1", CultureInfo.InvariantCulture) :
|
||||||
string.Empty;
|
string.Empty;
|
||||||
|
|
||||||
tokenHandlers["{MediaInfo Video}"] = m => videoCodec;
|
tokenHandlers["{MediaInfo Video}"] = m => videoCodec;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue