# how to export genre without repeating track

**URL:** https://community.mp3tag.de/t/how-to-export-genre-without-repeating-track/14334
**Category:** Support
**Created:** [January 9, 2013, 7:11am UTC](https://community.mp3tag.de/t/how-to-export-genre-without-repeating-track/14334 "2013-01-09T07:11:37Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![sepreta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sepreta](https://community.mp3tag.de/u/sepreta)
#### Post date: [January 9, 2013, 7:11am UTC](https://community.mp3tag.de/t/how-to-export-genre-without-repeating-track/14334/1 "2013-01-09T07:11:37Z")

</div>

so i formatted my whole mp3 tag with this software

i categorised my tracks in different language by genre. eg :

indian (abc.mp3 , abc2.mp3)  
american (def.mp3 , def2.mp3)

in different folder

now i want to export my list like that so that my tracks will appear under genre

eg :

indian - abc.mp3

```
      -abc2.mp3

```

american - def.mp3

```
          - def2.mp3

```

i dont want any tags rather than genre and title

please post the script of .txt (will be happy with html too)  
thanks in advance ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [January 9, 2013, 7:34am UTC](https://community.mp3tag.de/t/how-to-export-genre-without-repeating-track/14334/2 "2013-01-09T07:34:38Z")

</div>

> [@pratik](#):
>
> so i formatted my whole mp3 tag with this software ... now i want to export my list ... i dont want any tags rather than genre and title ...

Please explain in other words ...  
... what is your question respectively your request for help?

DD.20130109.0929.CET

---

<div class="post-metadata">

### Author: ![sepreta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sepreta](https://community.mp3tag.de/u/sepreta)
#### Post date: [January 9, 2013, 8:00am UTC](https://community.mp3tag.de/t/how-to-export-genre-without-repeating-track/14334/3 "2013-01-09T08:00:31Z")

</div>

> [@DetlevD](#):
>
> Please explain in other words ...  
> ... what is your question respectively your request for help?
> 
> DD.20130109.0929.CET

i formatted my mp3 collection and removed all tags expect genre and title from that.  
i want to export this list to txt or html file

so that every genre has its track

like :

pop :  
-song1  
-song2

rock :

-song1  
-song2

is it ok ?

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [January 9, 2013, 8:09am UTC](https://community.mp3tag.de/t/how-to-export-genre-without-repeating-track/14334/4 "2013-01-09T08:09:24Z")

</div>

> [@pratik](#):
>
> i formatted my mp3 collection and removed all tags expect genre and title from that. i want to export this list to txt or html file ...  
> pop :  
> -song1  
> -song2  
> rock :  
> -song1  
> -song2  
> ...

I guess to understand.  
So what does it mean: "song1"?  
Is it the file name or the text from the title tag-field?

Maybe ... you need to apply a Mp3tag export script like this ...

**1: $filename($getEnv('USERPROFILE')'\Desktop\Mp3tag.Report.txt',UTF-8)** 

**2: $loop(%GENRE%)$if2(%GENRE%,'Genre not defined')' :'  
3: $loop(%\_filename%)'-'%\_filename%  
4: $loopend()  
5: $loopend()**

 

DD.20130109.1016.CET

---

<div class="post-metadata">

### Author: ![sepreta](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sepreta](https://community.mp3tag.de/u/sepreta)
#### Post date: [January 9, 2013, 8:48am UTC](https://community.mp3tag.de/t/how-to-export-genre-without-repeating-track/14334/5 "2013-01-09T08:48:22Z")

</div>

> [@DetlevD](#):
>
> I guess to understand.  
> So what does it mean: "song1"?  
> Is it the file name or the text from the title tag-field?
> 
> Maybe ... you need to apply a Mp3tag export script like this ...
> 
> **1: $filename($getEnv('USERPROFILE')'\Desktop\Mp3tag.Report.txt',UTF-8)** 
> 
> **2: $loop(%GENRE%)$if2(%GENRE%,'Genre not defined')' :'  
> 3: $loop(%\_filename%)'-'%\_filename%  
> 4: $loopend()  
> 5: $loopend()**
> 
>  
> 
> DD.20130109.1016.CET

you are my godd  
thankss alottt !!!

---

<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: [February 9, 2026, 12:24pm UTC](https://community.mp3tag.de/t/how-to-export-genre-without-repeating-track/14334/6 "2026-02-09T12:24:16Z")

</div>


