Description of issue:
Adding this file via sabnzbd required a manual import, presumably due to the sample file beside it.
After choosing the correct file, the interface says imported successfully, however the state remains the same & logs show the above. The error I get is that the input string is not the correct format.
Any ideas what I could investigate next or do to correct this issue?
It’s a problem with the media info.
Sonarr can fix it if you’ll post the contents of mediainfo {filename} then it’ll get fixed next patch.
I found it so you don’t have to do it: at NzbDrone.Core.MediaFiles.MediaInfo.MediaInfoFormatter+<>c.<FormatAudioChannels>b__1_0 (System.String s) [0x00006] in <e8ad39d438bc4c448bfbd968b0f74ec6>:0
is failing
full call stack:
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00057] in <204f770036d441bb8dfd3daba3550e83>:0
at System.Number.ParseDecimal (System.String value, System.Globalization.NumberStyles options, System.Globalization.NumberFormatInfo numfmt) [0x0001b] in <204f770036d441bb8dfd3daba3550e83>:0
at System.Decimal.Parse (System.String s, System.IFormatProvider provider) [0x00009] in <204f770036d441bb8dfd3daba3550e83>:0
at NzbDrone.Core.MediaFiles.MediaInfo.MediaInfoFormatter+<>c.<FormatAudioChannels>b__1_0 (System.String s) [0x00006] in <e8ad39d438bc4c448bfbd968b0f74ec6>:0
at (wrapper delegate-invoke) System.Func`2[System.String,System.Decimal]:invoke_TResult_T (string)
at System.Linq.Enumerable.Sum[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x00034] in <e3fb361e66bb4797b6f56fd88e04971e>:0
at NzbDrone.Core.MediaFiles.MediaInfo.MediaInfoFormatter.FormatAudioChannels (NzbDrone.Core.MediaFiles.MediaInfo.MediaInfoModel mediaInfo) [0x000a5] in <e8ad39d438bc4c448bfbd968b0f74ec6>:0
at NzbDrone.Core.Organizer.FileNameBuilder.AddMediaInfoTokens (System.Collections.Generic.Dictionary`2[TKey,TValue] tokenHandlers, NzbDrone.Core.MediaFiles.EpisodeFile episodeFile) [0x00040] in <e8ad39d438bc4c448bfbd968b0f74ec6>:0
at NzbDrone.Core.Organizer.FileNameBuilder.BuildFileName (System.Collections.Generic.List`1[T] episodes, NzbDrone.Core.Tv.Series series, NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Organizer.NamingConfig namingConfig) [0x0016d] in <e8ad39d438bc4c448bfbd968b0f74ec6>:0
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.CopyEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode) [0x00012] in <e8ad39d438bc4c448bfbd968b0f74ec6>:0
at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode, System.Boolean copyOnly) [0x0012f] in <e8ad39d438bc4c448bfbd968b0f74ec6>:0
at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import (System.Collections.Generic.List`1[T] decisions, System.Boolean newDownload, NzbDrone.Core.Download.DownloadClientItem downloadClientItem, NzbDrone.Core.MediaFiles.EpisodeImport.ImportMode importMode) [0x00277] in <e8ad39d438bc4c448bfbd968b0f74ec6>:0
mediainfo:
Format : Matroska
Format version : Version 4 / Version 2
File size : 739 MiB
Duration : 41 min 32 s
Overall bit rate : 2 488 kb/s
Encoded date : UTC 2017-09-21 02:03:53
Writing application : FastLE v3.0.0 - AVS
Writing library : libx264 + libebml + libmatroska + libfastrar
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 41 min 32 s
Bit rate : 2 247 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.102
Stream size : 668 MiB (90%)
Writing library : x264 core 152 r2851 ba24899
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=22 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
Color range : Limited
Matrix coefficients : BT.709
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode : Dual Mono
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 41 min 32 s
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel positions : Dual mono
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 57.0 MiB (8%)
Default : Yes
Forced : No
I’ve updated my post with the info they need to fix it. I imagine you can move/copy them manually for the time being. (Then rename using the series page rename function)