Bug: Incorrect/Incomplete reading of MP4 "Genre" tag

Post Reply
edrikk
Posts: 3
Joined: Mon Mar 29, 2010 3:16 pm

Bug: Incorrect/Incomplete reading of MP4 "Genre" tag

Post by edrikk »

Hi,

I have noticed that Wild Media Server has an issue (which at least one other software also has) with reading of tags from MP4 files.

WMS fails to read the genre tag of items with "Standard" genre tags (such as "Comedy"). Florian, the developer of the great mp3tag tool has identified the reason below:

MP4 tags have two different ways of writing the genre

1. Standard genres (as known from ID3v1) are written to the gnre atom.
2. User-defined genres are written to the ©gen atom

Since Comedy is one of the standard genres, Mp3tag writes the corresponding genre number to the tags (and not the string itself).

It seems that the other application does not conform to this and should be updated with regard to proper handling of both types of genres.
You can read more here:
http://forums.mp3tag.de/index.php?showt ... st&p=43432


Can this item be corrected?

Thanks,
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Bug: Incorrect/Incomplete reading of MP4 "Genre" tag

Post by Eugene »

Hi,
edrikk wrote: I have noticed that Wild Media Server has an issue (which at least one other software also has) with reading of tags from MP4 files.

WMS fails to read the genre tag of items with "Standard" genre tags (such as "Comedy"). Florian, the developer of the great mp3tag tool has identified the reason below:

MP4 tags have two different ways of writing the genre

1. Standard genres (as known from ID3v1) are written to the gnre atom.
2. User-defined genres are written to the ©gen atom

Since Comedy is one of the standard genres, Mp3tag writes the corresponding genre number to the tags (and not the string itself).

It seems that the other application does not conform to this and should be updated with regard to proper handling of both types of genres.
After reading the properties, genre Comedy. What should be?
edrikk
Posts: 3
Joined: Mon Mar 29, 2010 3:16 pm

Re: Bug: Incorrect/Incomplete reading of MP4 "Genre" tag

Post by edrikk »

I'm not sure....
But I have attached a sample (which was also in the mp3tag forums).

The "Comedy" file should show what the tag value should be...
Attachments
Genre_tag.zip
(136.03 KiB) Downloaded 459 times
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Bug: Incorrect/Incomplete reading of MP4 "Genre" tag

Post by Eugene »

edrikk wrote:I'm not sure....
But I have attached a sample (which was also in the mp3tag forums).

The "Comedy" file should show what the tag value should be...
Genre_Comedy.mp4 - no genre
Genre_Comedy2.mp4 - Comedy2
edrikk
Posts: 3
Joined: Mon Mar 29, 2010 3:16 pm

Re: Bug: Incorrect/Incomplete reading of MP4 "Genre" tag

Post by edrikk »

Eugene wrote:
edrikk wrote:I'm not sure....
But I have attached a sample (which was also in the mp3tag forums).

The "Comedy" file should show what the tag value should be...
Genre_Comedy.mp4 - no genre
Genre_Comedy2.mp4 - Comedy2
Actually, that is incorrect... :) Which is what I meant by this post.

Please see attached screen capture (you should download and view using MediaInfo the two files I believe). You can see that it DOES have Genre set to Comedy (and MediaInfo recognizes that).
Attachments
Media_Info_for_Genre_Comedy.jpg
Media_Info_for_Genre_Comedy.jpg (79.15 KiB) Viewed 7330 times
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Bug: Incorrect/Incomplete reading of MP4 "Genre" tag

Post by Eugene »

edrikk wrote:
Eugene wrote:
edrikk wrote:I'm not sure....
But I have attached a sample (which was also in the mp3tag forums).

The "Comedy" file should show what the tag value should be...
Genre_Comedy.mp4 - no genre
Genre_Comedy2.mp4 - Comedy2
Actually, that is incorrect... :) Which is what I meant by this post.

Please see attached screen capture (you should download and view using MediaInfo the two files I believe). You can see that it DOES have Genre set to Comedy (and MediaInfo recognizes that).
I'll try to fix it.
Post Reply