# Genre metadata not exporting

**URL:** <https://community.mp3tag.de/t/genre-metadata-not-exporting/65499>\
**Category:** Support\
**Created:** [August 6, 2024, 11:42am UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499 "2024-08-06T11:42:46Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [August 10, 2024, 8:46pm UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/21 "2024-08-10T20:46:03Z")

</div>

> [@hitest](#):
>
> I guess I don't know what you mean. I have already sent an attachment of the page that display

I posted the steps to open the script already here:

> [@ohrenkino](#):
>
> A look at the code would be nice.  
> Use Ctrl-E, open the script that you used with the Edit button

and here:

> [@ohrenkino](#):
>
> An export script can be seen and edited after pressing Ctrl-E then select the export script and click on the edit button.

The extended tags dialogue can be opened with Alt-T in MP3tag and is not the properties dialogue from windows.

---

<div class="post-metadata">

**Author:** ![hitest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/53a042/32.png) [@hitest](https://community.mp3tag.de/u/hitest)\
**Post date:** [August 10, 2024, 9:13pm UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/22 "2024-08-10T21:13:08Z")

</div>

Oh ok, here is the tag list, ote that genre is in here

 ![extended tage dialogue for mp3tag forum](https://community.mp3tag.de/uploads/default/original/3X/c/6/c6cc49758b3456a7aa3a963664a8a4483ee3df6a.jpeg)

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [August 10, 2024, 9:15pm UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/23 "2024-08-10T21:15:38Z")

</div>

You show the properties dialogue from windows but not the extended tags dialogue from MP3tag.

> [@ohrenkino](#):
>
> The extended tags dialogue can be opened with Alt-T in MP3tag and is not the properties dialogue from windows.

---

<div class="post-metadata">

**Author:** ![hitest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/53a042/32.png) [@hitest](https://community.mp3tag.de/u/hitest)\
**Post date:** [August 10, 2024, 9:15pm UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/24 "2024-08-10T21:15:58Z")

</div>

Sorry ignore that last reply. Here is my extended tags list. Note that genre is in here.  
 ![extended tags list](https://community.mp3tag.de/uploads/default/original/3X/3/7/378763ab6e64aee5157dd2a16f26bbe6f4f12735.jpeg)

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [August 10, 2024, 9:20pm UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/25 "2024-08-10T21:20:58Z")

</div>

I am looking for the number of Genre fields in a single file. If there is more than one, the statement in the export script has to be adapted.  
Which is why I asked:

> [@ohrenkino](#):
>
> Please show us a screenshot of the extended tags dialogue of a single file where you do not get the genre.  
> Also, please show us the code of the script that you use.

and as I apparently have to say some things more than once:

> [@ohrenkino](#):
>
> The file list does not have anything to do with a chosen export script.

so there is no way around but to edit the export script.

---

<div class="post-metadata">

**Author:** ![hitest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/53a042/32.png) [@hitest](https://community.mp3tag.de/u/hitest)\
**Post date:** [August 10, 2024, 9:29pm UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/26 "2024-08-10T21:29:05Z")

</div>

ok , here is the extended tag info of a single file from my 5 file sample.

![extended tags list of single file from 5 file sample](https://community.mp3tag.de/uploads/default/original/3X/f/3/f3eead0f7e7765de9555e0b5461c930659f44db6.jpeg)

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [August 10, 2024, 9:33pm UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/27 "2024-08-10T21:33:49Z")

</div>

Thank you.  
It shows that there is only 1 field of the type GENRE and it is called GENRE. So it is enough to use %genre% in the script and not `$meta_sep(genre,;)`

Now the export script code (and not the output of the script) would help.

---

<div class="post-metadata">

**Author:** ![hitest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/53a042/32.png) [@hitest](https://community.mp3tag.de/u/hitest)\
**Post date:** [August 10, 2024, 9:35pm UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/28 "2024-08-10T21:35:46Z")

</div>

OK, step by step instructions on how to get this and send it please?

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [August 10, 2024, 9:42pm UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/29 "2024-08-10T21:42:37Z")

</div>

See this post:

> [@Genre metadata not exporting](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/21):
>
> I posted the steps to open the script already here: and here: The extended tags dialogue can be opened with Alt-T in MP3tag and is not the properties dialogue from windows.

Seriously: you have the problem, not me.  
So far I see a lack of willing to co-operate. And that uses up my patience.

By the way: the solution can be seen in this post:

> [@Genre metadata not exporting](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/13):
>
> The file list does not have anything to do with a chosen export script. An export script can be seen and edited after pressing Ctrl-E then select the export script and click on the edit button. e.g. $filename(csv,utf-16)Titel;Interpret;Album;Track;Jahr;Länge;Größe;Geändert;Pfad;Dateiname; $loop(%\_filename\_ext%)%title%;%artist%;%album%;%track%;%year%;%\_length\_seconds%;%\_file\_size%;%\_file\_mod\_date%;%\_folderpath%;%\_filename\_ext%; $loopend()Erstellt am %\_date% mit %\_app% - dem universellen Tag Ed…

---

<div class="post-metadata">

**Author:** ![hitest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/53a042/32.png) [@hitest](https://community.mp3tag.de/u/hitest)\
**Post date:** [August 10, 2024, 10:38pm UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/30 "2024-08-10T22:38:55Z")

</div>

I appreciate the help and I am trying to cooperate, just struggling with how to get you the i nformation you need to help me. Give me a minute to look through your instructions thanks

---

<div class="post-metadata">

**Author:** ![hitest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/53a042/32.png) [@hitest](https://community.mp3tag.de/u/hitest)\
**Post date:** [August 10, 2024, 10:58pm UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/31 "2024-08-10T22:58:35Z")

</div>

OK so after I press ctrl e I am presented with a number of different formats to export the file in, and there is an edit box there as well. That goves me the followikng file, is this what you are loking for?

 ![thismightbetheexportfile](https://community.mp3tag.de/uploads/default/original/3X/6/8/68f4111b4c7bb51a0d57e4ee6af06dc4163e8f86.jpeg)

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [August 11, 2024, 5:51am UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/32 "2024-08-11T05:51:33Z")

</div>

Yes.  
Though you would seriously have to modify the file association of mte files with a plain text editor instead of a spreadsheet.

Now please compare the code from the already existing post

> [@Genre metadata not exporting](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/13):
>
> The file list does not have anything to do with a chosen export script. An export script can be seen and edited after pressing Ctrl-E then select the export script and click on the edit button. e.g. $filename(csv,utf-16)Titel;Interpret;Album;Track;Jahr;Länge;Größe;Geändert;Pfad;Dateiname; $loop(%\_filename\_ext%)%title%;%artist%;%album%;%track%;%year%;%\_length\_seconds%;%\_file\_size%;%\_file\_mod\_date%;%\_folderpath%;%\_filename\_ext%; $loopend()Erstellt am %\_date% mit %\_app% - dem universellen Tag Ed…

(skip the language typcial parts)  
and see that the first part resembles your script and the modified part has an added `%gerne%;` following `%year%;`.  
This is the modification that you have to do in your script as well.  
If you are keen on proper column headers in the spreadsheet afterwards, then you would have to adapt that text only line as well.

Do not forget to save that modified script,  
Return to MP3tag and execute the export script and check whether you got the required data now.

---

<div class="post-metadata">

**Author:** ![hitest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/53a042/32.png) [@hitest](https://community.mp3tag.de/u/hitest)\
**Post date:** [August 11, 2024, 9:40pm UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/33 "2024-08-11T21:40:29Z")

</div>

Ok, yes, I modified my script and called it CSV-2. I used notepad to change the script and it works perfectly now. Thanks for all your help with this. One final question if I may, Is the initial export script something that is generated by my copy of Excel or something that the MP3tag program created? If it was the MP3 program that created it I can't help but wonder why they wouldn't have included Genre in the script? it seems like an obvious choice oif metadata to export. Anyways it doesn't matter, it works now and I am happy. Thanks again

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [August 12, 2024, 5:15am UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/34 "2024-08-12T05:15:41Z")

</div>

> [@hitest](#):
>
> If it was the MP3 program that created it

The script has not been "created" by MP3tag but has been included during the installation process as a template - as there are templates for other formats as well.  
But e.g. for files in the XML format there is no template although that would also be an option for an output format.  
The templates should show how text, variables and perhaps even scripting functions can be used in an export script to create a text output.  
See also the documentation:

> **[Exporting Tag and File Information – Mp3tag Documentation](https://docs.mp3tag.de/export/)**
>
> Documentation on exporting tag and file information to text-based file formats. Mp3tag is the universal Tag Editor.

---

<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:** [September 11, 2024, 5:16am UTC](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499/35 "2024-09-11T05:16:19Z")

</div>

Closed on September 11, 2024, 5:16am UTC

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

[Previous page](https://community.mp3tag.de/t/genre-metadata-not-exporting/65499.md?page=1)
