# Creating Playlists based on Genre when there is more than one Genre

**URL:** https://community.mp3tag.de/t/creating-playlists-based-on-genre-when-there-is-more-than-one-genre/64398
**Category:** Support
**Created:** [April 13, 2024, 9:52pm UTC](https://community.mp3tag.de/t/creating-playlists-based-on-genre-when-there-is-more-than-one-genre/64398 "2024-04-13T21:52:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![E1138](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/c57346/32.png) [@E1138](https://community.mp3tag.de/u/E1138)
#### Post date: [April 13, 2024, 9:52pm UTC](https://community.mp3tag.de/t/creating-playlists-based-on-genre-when-there-is-more-than-one-genre/64398/1 "2024-04-13T21:52:34Z")

</div>

I am using version 3.25 and have some music files with multiple genres such as  
Soundtrack\\Pop  
Soundtrack\\Rock  
Soundtrack\\Score  
Is it possible to adjust the settings so the the second genre is picked up instead of the first? Thank you for taking a look at this.  
 ![Playlist Generator](https://community.mp3tag.de/uploads/default/original/3X/1/3/13edf8b1db373534e45ebe08383ed665934350c0.png)

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [April 13, 2024, 11:21pm UTC](https://community.mp3tag.de/t/creating-playlists-based-on-genre-when-there-is-more-than-one-genre/64398/2 "2024-04-13T23:21:31Z")

</div>

For the second genre, you could try it with  
`$meta(GENRE,1).m3u`

From the [documentation](https://docs.mp3tag.de/scripting/#metadata-functions):

 ![image](https://community.mp3tag.de/uploads/default/original/3X/e/e/eebf7a3744dd5e248e8552636b60d23b63561eaa.png)

BTW:  
The first genre would be `$meta(GENRE,0).m3u` but this would be the same as `%GENRE%.m3u`

---

<div class="post-metadata">

### Author: ![E1138](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/c57346/32.png) [@E1138](https://community.mp3tag.de/u/E1138)
#### Post date: [April 14, 2024, 1:53am UTC](https://community.mp3tag.de/t/creating-playlists-based-on-genre-when-there-is-more-than-one-genre/64398/3 "2024-04-14T01:53:45Z")

</div>

That works perfectly. Thank you very much!

---

<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: [May 14, 2024, 1:53am UTC](https://community.mp3tag.de/t/creating-playlists-based-on-genre-when-there-is-more-than-one-genre/64398/4 "2024-05-14T01:53:56Z")

</div>

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