Open mikecappella opened 1 year ago
Please a sample file (no need of the audio content, only the ID3v2 part).
This is a 2 second silent mp3 w/tags.
Wow, huge count of tags, thank you. We'll handle that when we have free time (don't expect soon, this part of the code is messy and with lot of stuff for trying to aggregate correctly different sources).
Yes, indeed.
No hurry. I discovered it accidentally while testing some of my own code that calls the MediaInfo CLI, used primary for video files.
MediaInfo is incorrectly re-packaging some MP3 user tags, and this can cause not only duplicate tags in, for example, JSON or XML output, but it is losing some tag values.
Here's one of the identically named Biography groupings, for example:
But the actual tags are, as output by exiftool:
Note that the value of "AMG Composer Biography" is lost - only the URL and short values are output. E.g. AMG Composer Biography (short) and AMG Composer Biography URL.
Second, duplicate "Biography" JSON / XML groupings are created.
It seems MediaInfo is latching onto only the "Biography" portion of the full tag "AMG Artist Biography" or "AMG Composer Biography", creating two identically-named Biography containers and placing the "URL" and "short" values within. This is entirely wrong, and breaks parsing the JSON or XML due to duplicate tags (e.g. "Biography").
This is occurring with several tags, seemingly because their names share a common root prefix. In the case of the two Biography variants, MediaInfo seems to think the Artist Biography and Composer Biography are identical. This is incorrect.