Hi, I noticed a lot of MediaInfo errors lately, preventing files from being imported.
I’m on the latest develop version (2.0.0.1773), running on a Synology NAS.
Marr.Data.DataMappingException: The DataMapper was unable to load the following field: ‘MediaInfo’ value: ‘{
“videoCodec”: “AVC”,
“videoBitrate”: 3846856,
“width”: 1280,
“height”: 720,
“audioFormat”: “AC-3”,
“audioBitrate”: 384000,
“runTime”: “00:42:58.9960000”,
“audioStreamCount”: 1,
“audioChannels”: 6,
“audioProfile”: “”,
“videoFps”: 00.000,
“audioLanguages”: “English”,
“subtitles”: “English”,
“scanType”: “Progressive”
}’. Additional unparsable characters are at the end of the string. —> System.FormatException: Additional unparsable characters are at the end of the string.
at System.Convert.ConvertFromBase64 (System.String value, Int32 fromBase, Boolean unsigned) [0x00000] in :0
at System.Convert.ToInt64 (System.String value, Int32 fromBase) [0x00000] in :0
at Newtonsoft.Json.JsonTextReader.ParseNumber () [0x00000] in :0
at Newtonsoft.Json.JsonTextReader.ParseValue () [0x00000] in :0
at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in :0
at Newtonsoft.Json.JsonReader.ReadAsDecimalInternal () [0x00000] in :0
at Newtonsoft.Json.JsonTextReader.ReadAsDecimal () [0x00000] in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) [0x00000] in :0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in :0
— End of inner exception stack trace —
at Marr.Data.Mapping.MappingHelper.LoadExistingEntity (Marr.Data.Mapping.ColumnMapCollection mappings, System.Data.Common.DbDataReader reader, System.Object ent, Boolean useAltName) [0x00000] in :0
at Marr.Data.Mapping.MappingHelper.CreateAndLoadEntity (System.Type entityType, Marr.Data.Mapping.ColumnMapCollection mappings, System.Data.Common.DbDataReader reader, Boolean useAltName) [0x00000] in :0
at Marr.Data.Mapping.MappingHelper.CreateAndLoadEntity[EpisodeFile] (Marr.Data.Mapping.ColumnMapCollection mappings, System.Data.Common.DbDataReader reader, Boolean useAltName) [0x00000] in :0
at Marr.Data.DataMapper.Query[EpisodeFile] (System.String sql, ICollection1 entityList, Boolean useAltName) [0x00000] in <filename unknown>:0 at Marr.Data.QGen.QueryBuilder
1[NzbDrone.Core.MediaFiles.EpisodeFile].ToList () [0x00000] in :0
at Marr.Data.QGen.QueryBuilder1[NzbDrone.Core.MediaFiles.EpisodeFile].System.Collections.Generic.IEnumerable<T>.GetEnumerator () [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.Single[EpisodeFile] (IEnumerable
1 source, System.Func2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.SingleOrDefault[EpisodeFile] (IEnumerable
1 source, System.Func2 predicate) [0x00000] in <filename unknown>:0 at NzbDrone.Core.Datastore.Extensions.RelationshipExtensions+<>c__DisplayClass3
2[NzbDrone.Core.Tv.Episode,NzbDrone.Core.MediaFiles.EpisodeFile].b__0 (IDataMapper db, NzbDrone.Core.Tv.Episode parent) [0x00000] in :0
at Marr.Data.LazyLoaded2[NzbDrone.Core.Tv.Episode,NzbDrone.Core.MediaFiles.EpisodeFile].LazyLoad () [0x00000] in <filename unknown>:0 at Marr.Data.LazyLoaded
1[NzbDrone.Core.MediaFiles.EpisodeFile].get_Value () [0x00000] in :0
at NzbDrone.Core.MediaFiles.EpisodeImport.Specifications.UpgradeSpecification+<>c__DisplayClass1.b__0 (NzbDrone.Core.Tv.Episode e) [0x00000] in :0
at System.Linq.Enumerable.Any[Episode] (IEnumerable1 source, System.Func
2 predicate) [0x00000] in :0
at NzbDrone.Core.MediaFiles.EpisodeImport.Specifications.UpgradeSpecification.IsSatisfiedBy (NzbDrone.Core.Parser.Model.LocalEpisode localEpisode) [0x00000] in :0
at NzbDrone.Core.MediaFiles.EpisodeImport.ImportDecisionMaker.EvaluateSpec (IRejectWithReason spec, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode) [0x00000] in :0
The file in this example plays perfectly fine.
If I wait long enough, I start seeing the same errors over and over again for files that were downloaded a long time ago as well. Once again, I can see nothing wrong (I’m not an expert) with those files, as they play fine etc.