You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got an error when call yami.GetMediaInfo(): strconv.ParseFloat: parsing "UTC 2020-05-08 08:00:26": invalid syntax.
followed the source code, I found in yami/types.go, "DurationStart" and "DurationEnd" are declared in wrong type, they are string instead of float64
The text was updated successfully, but these errors were encountered:
Hi @zixizhan.
Originally type mapping is generated based on official schema. So either it was changed since then either your particular binary outputs data in different format.
I will check with latest version of MediaInfo.
What is the version of your MediaInfo?
It looks like the problem was caused by localization in MediaInfo.
I pushed a fix that forces raw types. Can you update the lib and test it again @zixizhan ?
I got an error when call yami.GetMediaInfo(): strconv.ParseFloat: parsing "UTC 2020-05-08 08:00:26": invalid syntax.
followed the source code, I found in yami/types.go, "DurationStart" and "DurationEnd" are declared in wrong type, they are string instead of float64
The text was updated successfully, but these errors were encountered: