MediaInfo Audio Input string was not in a correct format

Sonarr version (exact version): 2.0.0.5054
OS: Windows Server 2008 R2
Description of issue:
I’m getting this Format Exception for a particular completed file when it’s being imported. Seems to be a problem with what media info is returning for audio channels isn’t correctly parsed into a decimal.

[v2.0.0.5054] System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt)
   at NzbDrone.Core.MediaFiles.MediaInfo.MediaInfoFormatter.<>c.<FormatAudioChannels>b__1_1(String s) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\MediaInfo\MediaInfoFormatter.cs:line 48
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Enumerable.Sum(IEnumerable`1 source)
   at NzbDrone.Core.MediaFiles.MediaInfo.MediaInfoFormatter.FormatAudioChannels(MediaInfoModel mediaInfo) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\MediaInfo\MediaInfoFormatter.cs:line 44
   at NzbDrone.Core.Organizer.FileNameBuilder.AddMediaInfoTokens(Dictionary`2 tokenHandlers, EpisodeFile episodeFile) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Organizer\FileNameBuilder.cs:line 496
   at NzbDrone.Core.Organizer.FileNameBuilder.BuildFileName(List`1 episodes, Series series, EpisodeFile episodeFile, NamingConfig namingConfig) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Organizer\FileNameBuilder.cs:line 133
   at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:line 74
   at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile(EpisodeFile episodeFile, LocalEpisode localEpisode, Boolean copyOnly) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\UpgradeMediaFileService.cs:line 76
   at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import(List`1 decisions, Boolean newDownload, DownloadClientItem downloadClientItem, ImportMode importMode) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\EpisodeImport\ImportApprovedEpisodes.cs:line 103

This is what the media info cli is returning for the audio info:

Audio
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced Audio Coding 3
Format profile                           : E-AC-3+Atmos / E-AC-3
Format settings, Endianness              : Big
Codec ID                                 : A_EAC3
Duration                                 : 51 min 16 s
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 15 objects / 6 channels
Channel positions                        : 15 objects / Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 187.500 FPS (256 SPF)
Compression mode                         : Lossy
Stream size                              : 164 MiB (5%)
Language                                 : German
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No

A post was merged into an existing topic: Import Error - Input string was not in a correct format