Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Multiple Genres Bug?
#23
(08-27-2020, 09:17 PM)TheOldPresbyope Wrote: @Atair

Late-breaking news.

I should have been more skeptical. It turns out that even mid3v2 (which is based on mutagen) lies about the actual content of the ID3 text frames (the official name of those T... fields).

Recall in my previous post I showed the mid3v2 output for your MP3 file was

Code:
TCON=Rock-Italienisch / Italien / Rock

Quite literally this is not so!

Dumping the strings from the MP3 file, I discovered that it actually contains three TCON frames. Schematically they are

Code:
TCON Rock-Italienisch
<APIC cover art>
TCON Italien
TCON Rock

Here I've not shown the messy binary information which is intermingled with each in a file. 

APIC is the frame type for a picture and is followed by many binary bytes of the JPEG image before the occurrence of the second TCON frame.

So, mid3v2, mediainfo, and MPD's plugins are apparently aggregating the information contained in these three TCON frames, albeit in different ways.

This multiplicity of frames is explicitly in violation of the ID3v2.3 spec, which says in part

Quote:The text information frames are the most important frames, containing information like artist, album and more. There may only be one text information frame of its kind in an tag.

Remember that in ID3, as in many metadata schemes, the word "tag" refers to the entire block of metadata associated with a file while in ID3 the word "frame" refers to a single piece of metadata---what we users and the MPD developers loosely call a "tag".

The plot thickens, as the saying goes. My "legal" MP3 files will always be interpreted as having a single genre even if I use creative concatenations with various separators, while your "illegal" MP3 files will be interpreted in various ways by various softwares. 

Regards,
Kent

This is interesting and shows that a couple of tag editors and music databases seem to be programmed "defensively" so they can handle non-standard fram usage.
Reply


Messages In This Thread
Multiple Genres Bug? - by Atair - 08-26-2020, 02:07 PM
RE: Multiple Genres Bug? - by TheOldPresbyope - 08-26-2020, 07:50 PM
RE: Multiple Genres Bug? - by Atair - 08-26-2020, 08:56 PM
RE: Multiple Genres Bug? - by TheOldPresbyope - 08-26-2020, 09:14 PM
RE: Multiple Genres Bug? - by Tim Curtis - 08-26-2020, 10:56 PM
RE: Multiple Genres Bug? - by Atair - 08-26-2020, 09:42 PM
RE: Multiple Genres Bug? - by Atair - 08-26-2020, 10:01 PM
RE: Multiple Genres Bug? - by Atair - 08-26-2020, 10:19 PM
RE: Multiple Genres Bug? - by Tim Curtis - 08-26-2020, 10:36 PM
RE: Multiple Genres Bug? - by Atair - 08-27-2020, 07:36 AM
RE: Multiple Genres Bug? - by Atair - 08-27-2020, 08:02 AM
RE: Multiple Genres Bug? - by Tim Curtis - 08-27-2020, 01:10 PM
RE: Multiple Genres Bug? - by TheOldPresbyope - 08-27-2020, 12:39 PM
RE: Multiple Genres Bug? - by Tim Curtis - 08-27-2020, 12:42 PM
RE: Multiple Genres Bug? - by TheOldPresbyope - 08-27-2020, 01:00 PM
RE: Multiple Genres Bug? - by Tim Curtis - 08-27-2020, 01:05 PM
RE: Multiple Genres Bug? - by Atair - 08-27-2020, 05:37 PM
RE: Multiple Genres Bug? - by Tim Curtis - 08-27-2020, 06:43 PM
RE: Multiple Genres Bug? - by TheOldPresbyope - 08-27-2020, 06:08 PM
RE: Multiple Genres Bug? - by Atair - 08-27-2020, 08:50 PM
RE: Multiple Genres Bug? - by TheOldPresbyope - 08-27-2020, 09:17 PM
RE: Multiple Genres Bug? - by Atair - 08-28-2020, 06:42 AM
RE: Multiple Genres Bug? - by Tim Curtis - 08-27-2020, 09:17 PM
RE: Multiple Genres Bug? - by Atair - 08-28-2020, 07:01 AM
RE: Multiple Genres Bug? - by TheOldPresbyope - 08-28-2020, 11:42 AM
RE: Multiple Genres Bug? - by Tim Curtis - 09-01-2020, 02:55 PM
RE: Multiple Genres Bug? - by dwlacroix - 09-01-2020, 03:56 PM
RE: Multiple Genres Bug? - by Tim Curtis - 09-01-2020, 04:56 PM
RE: Multiple Genres Bug? - by dwlacroix - 09-01-2020, 05:34 PM
RE: Multiple Genres Bug? - by Tim Curtis - 09-01-2020, 07:48 PM
RE: Multiple Genres Bug? - by Atair - 09-01-2020, 09:48 PM
RE: Multiple Genres Bug? - by TheOldPresbyope - 09-02-2020, 12:30 PM
RE: Multiple Genres Bug? - by Atair - 09-02-2020, 02:18 PM
RE: Multiple Genres Bug? - by Atair - 09-02-2020, 02:36 PM
RE: Multiple Genres Bug? - by TheOldPresbyope - 09-02-2020, 03:36 PM
RE: Multiple Genres Bug? - by TheOldPresbyope - 09-02-2020, 04:49 PM
RE: Multiple Genres Bug? - by Atair - 09-02-2020, 05:33 PM

Forum Jump: