# ID3v1 genre number written by iTunes is not translated for ID3v2.4

**URL:** https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855
**Category:** Fixed Bugs
**Tags:** bug-fixed
**Created:** [July 9, 2022, 1:03pm UTC](https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855 "2022-07-09T13:03:10Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [July 9, 2022, 1:03pm UTC](https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855/1 "2022-07-09T13:03:10Z")

</div>

Strangely enough, I have noticed recently for mp4 files where the genre is updated in iTunes, mp3tag then refers to it only by the number. In the tag panel for this example, it lists `98` instead of the expected `Easy Listening` entry.

 ![image](https://community.mp3tag.de/uploads/default/original/2X/1/1d3fc258322b8559f43e7e852bfc8b181498a6de.png)

Yet if I edit this in mp3tag back to `Easy Listening`, it still shows correctly in iTunes. I don’t recall seeing this behaviour in the past. Is it something that iTunes could be writing incorrectly?  
mp3tag version 3.16b and iTunes 12.12.4 on Win10/64

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [July 9, 2022, 1:19pm UTC](https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855/2 "2022-07-09T13:19:16Z")

</div>

Your screenshot shows MP3 files and you refer to MP4 files. I've now tried with both MP3 and MP4 and could reproduce this for MP3 files tagged with ID3v2.4. Can you double-check regarding your observation with MP4?

Changing the genre via iTunes 12.12.4.1 writes the ID3v1 genre number instead of the genre text. It uses the format `(##)` for ID3v2.3 — for which Mp3tag's ID3 implementation has special handling, but `##` for ID3v2.4 — which is currently not supported by Mp3tag (but allowed according to the standard).

I've moved that to #bug-reports, will work on that and keep you posted.

---

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [July 9, 2022, 1:29pm UTC](https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855/3 "2022-07-09T13:29:07Z")

</div>

> [@Florian](#):
>
> Your screenshot shows MP3 files

My bad on posting that particular screen shot, I was actually trying it on a few files, and didn’t notice that I had changed to a folder using mp3. But the same behaviour happens with mp4 files.

Another strange thing though was the fact they had v2.4 tags as I have not made this change that I can recall. I wonder if Apple made that the default in a recent update to iTunes?

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [July 9, 2022, 1:32pm UTC](https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855/4 "2022-07-09T13:32:59Z")

</div>

> [@MotleyG](#):
>
> But the same behaviour happens with mp4 files.

OK, thanks! I've tried this with a m4a file without tags and couldn't reproduce it. Are the files from a different source, or are you sure they're tagged/created using iTunes.

---

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [July 9, 2022, 1:41pm UTC](https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855/5 "2022-07-09T13:41:26Z")

</div>

> [@Florian](#):
>
> are you sure they're tagged/created using iTunes

Yes, I intentionally made the changes and saved in iTunes to reproduce this. These are from files I ripped from my own collection. I don't use mp3 format any more, and have slowly been re-ripping these into lossless. I use dbPoweramp for all of my ripping.

> [@MotleyG](#):
>
> Another strange thing though was the fact they had v2.4 tags as I have not made this change that I can recall.

I changed the iTunes default back to v2.3 and mp3tag handles it properly again for not just mp3, but also mp4. I didn't think id3 should have an influence on mp4 files, but iTunes must be doing something with it in the background.

 ![image](https://community.mp3tag.de/uploads/default/original/2X/b/bab32e17cd862244b0e16a6e9df52e7f76aeb250.png)

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [July 9, 2022, 1:49pm UTC](https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855/6 "2022-07-09T13:49:51Z")

</div>

I think I can't reproduce the MP4 issue for now. Can you send me one of the MP4 files that shows a genre number?

As background information: MP4 tags have two different ways of writing the genre

1. Standard genres (as known from ID3v1) are written to the `gnre` atom and are translated by Mp3tag in both directions.
2. User-defined genres are written to the `©gen` atom and should not use the genre numbers but the textual genre representation.

---

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [July 9, 2022, 1:56pm UTC](https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855/7 "2022-07-09T13:56:28Z")

</div>

> [@Florian](#):
>
> I think I can't reproduce the MP4 issue for now. Can you send me one of the MP4 files that shows a genre number?

Now I can't replicate it with mp4, but still for mp3. If I can find it again I will send a file.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [July 11, 2022, 3:41pm UTC](https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855/8 "2022-07-11T15:41:18Z")

</div>

This is now fixed with [Mp3tag v3.16c](https://community.mp3tag.de/t/455). Thanks again for reporting!

---

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [July 11, 2022, 5:41pm UTC](https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855/9 "2022-07-11T17:41:42Z")

</div>

I have tried making the genre changes going both ways from mp3tag to iTunes, and back. Using both ID3v2.3 and ID3v2.4 works flawlessly now.

And for the record I still cannot get this to occur now with mp4 no matter what I try. Perhaps I was mistaken when I saw the issue in the first place, and it only happens with mp3 files. So apologies for sending you in search of a problem that doesn't seem to exist with mp4.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [July 11, 2022, 5:52pm UTC](https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855/10 "2022-07-11T17:52:19Z")

</div>

Thanks for confirming the fix and no worries regarding MP4: it's still possible that some application writes the genre number that should go to the `gnre` atom to the `©gen` atom which should only contain the custom genres.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [August 10, 2022, 5:52pm UTC](https://community.mp3tag.de/t/id3v1-genre-number-written-by-itunes-is-not-translated-for-id3v2-4/57855/11 "2022-08-10T17:52:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
