Custom Genres - text file construction?

Hello,

I have searched the forum extensively for an explanation of the best way for constructing a text file to import custom genres in a more organised way but maybe because I have used the wrong search terms, I can't find what I am looking for,

I am on version 3.24 and I would like to redo the genre list so that it looks like Florian's screencast post (https://community.mp3tag.de/u/Florian) Custom Genres List - #11 by Florian

He seems to be using the Tilde (~) Symbol to arrange the genres into subcategories (subgenres). Is this how it is arranged in the text file?.. ie:
Electornica
Electornica ~ Ambient

Since I will be using custom genres exclusively, the Show only user-defined genres box will be ticked.

Can you please tell me how to obtain a list of the predefined ID3 genres incorporated in the program so they can be reconstructed using the new format as it would eliminate duplication, be more easily modified and adapted to my preferences and tastes . But also for sites that use styles they can be included rather than using a separate tag.

For instance:
Rock
Rock > Alternative rock
Rock > Dance Rock

R&B - Soul
R&B - Soul > Rhythm And Blues
R&B - Soul > Rhythm And Blues > Doo-wop
..and so forth.

Thank you.

Oh and if anyone has a ready made example file similar to what I would like to fashion I would really appreciate your sharing it with me (and the community of course).

The easiest way:
Create one example how you would like to see it in Mp3tag manually in Mp3tag.
Export it as shown in the linked support article.

Have a look at this exported file in your configuration subfolder \data

Now you can try to fill this file with one or two examples.
Import it in Mp3tag an check if it works as expected.

You can use whatever you want to see in the dropdown box to divide the main from subgenres.
For example -> or just - or a tilde ~
Example:
MainGenre -> SubGenre 1 -> SubSubGenre 2

There is no special logic behind it. It is just a plain text file. Added to your dropdown box line by line.

Just one hint:
Please check too, if your playing devices can show your genres.
It doesn't help much if you construct "nice looking" genre trees but your player can't show it.

i do not know any player that displays genres in a tree.
I guess, each genre will remain a single line of text. I doubt that there will be any kind of grouping mechanism and a more sophisticated display than just a sorted list.

Thank you LyricsLover - did as you suggested and yes it does show up in the Genre tag

In VCL MP the new entry shows up as:

Rock ~ Alternative Rock ~ test rock

under Current Media Information > Genre. Not tried other players.

The entries in genre,ini file have not changed though. Also what is the significance of the = sign after each genre entry there? Delimiter / line break?

Presumably entries entered directly into the Custom List Values window need to be deleted individually as they still appear in the tag since the text file import appends the new entries but does not delete / replace the existing ones.

Is it possible to extract/obtain the current list/s of the predefined ID3 genres used in the program so that they can be included in the text file import?

Cheers and thanks again.

Where exactly do you see such a list?
In my Mp3tag version there are no predefined ID3 genres.

The following genres are defined in the standard documenation for ID3v1 (very old from 1999):


      0.Blues
      1.Classic Rock
      2.Country
      3.Dance
      4.Disco
      5.Funk
      6.Grunge
      7.Hip-Hop
      8.Jazz
      9.Metal
     10.New Age
     11.Oldies
     12.Other
     13.Pop
     14.R&B
     15.Rap
     16.Reggae
     17.Rock
     18.Techno
     19.Industrial
     20.Alternative
     21.Ska
     22.Death Metal
     23.Pranks
     24.Soundtrack
     25.Euro-Techno
     26.Ambient
     27.Trip-Hop
     28.Vocal
     29.Jazz+Funk
     30.Fusion
     31.Trance
     32.Classical
     33.Instrumental
     34.Acid
     35.House
     36.Game
     37.Sound Clip
     38.Gospel
     39.Noise
     40.AlternRock
     41.Bass
     42.Soul
     43.Punk
     44.Space
     45.Meditative
     46.Instrumental Pop
     47.Instrumental Rock
     48.Ethnic
     49.Gothic
     50.Darkwave
     51.Techno-Industrial
     52.Electronic
     53.Pop-Folk
     54.Eurodance
     55.Dream
     56.Southern Rock
     57.Comedy
     58.Cult
     59.Gangsta
     60.Top 40
     61.Christian Rap
     62.Pop/Funk
     63.Jungle
     64.Native American
     65.Cabaret
     66.New Wave
     67.Psychadelic
     68.Rave
     69.Showtunes
     70.Trailer
     71.Lo-Fi
     72.Tribal
     73.Acid Punk
     74.Acid Jazz
     75.Polka
     76.Retro
     77.Musical
     78.Rock & Roll
     79.Hard Rock

   The following genres are Winamp extensions

     80.Folk
     81.Folk-Rock
     82.National Folk
     83.Swing
     84.Fast Fusion
     85.Bebob
     86.Latin
     87.Revival
     88.Celtic
     89.Bluegrass
     90.Avantgarde
     91.Gothic Rock
     92.Progressive Rock
     93.Psychedelic Rock
     94.Symphonic Rock
     95.Slow Rock
     96.Big Band
     97.Chorus
     98.Easy Listening
     99.Acoustic
    100.Humour
    101.Speech
    102.Chanson
    103.Opera
    104.Chamber Music
    105.Sonata
    106.Symphony
    107.Booty Bass
    108.Primus
    109.Porn Groove
    110.Satire
    111.Slow Jam
    112.Club
    113.Tango
    114.Samba
    115.Folklore
    116.Ballad
    117.Power Ballad
    118.Rhythmic Soul
    119.Freestyle
    120.Duet
    121.Punk Rock
    122.Drum Solo
    123.Acapella
    124.Euro-House
    125.Dance Hall

This is a wiki article with further links and explanations for the listed genres (including the numbers 126 to 191):

The genres.ini file seems not be used for this Import/Export.
Maybe others (@ohrenkino, @Florian ?) can explain the purpose of this file?

The genres.ini is the file which was used for custom genres before genre-handling was consolidated with custom values. The file is now unused, its format implementation-specific.

1 Like

Strange that your version differs so radically from mine - can't explain it.

When Show only user-defined genres box in not ticked and neither the other one Prefer values..... in the Custom List Values window, my version when I click on the Genre combo/dropdown box in the Tag Panel the list that gets propagated in it is filled alphabetically with an extensive, enormous number of genres, possibly over 100 if not more (which I have not added and therefore presume to have been acquired by the program and stored somewhere) starting at A Cappella and finishing with World Music by way of Bhangra , Krautrock and many others I have never heard of. .

I may be wrong but the presumption is that they are predefined ID3 genres or else come to think of it perhaps a custom list put together by someone and integrated into the program.

I can of course highlight and copy each one individually which looks like what I will have to do but if there is an easier way to acquire them,,,,,,,,

A possible explanation: the list in MP3tag is alphabetical, the list in the standard goes by code number.
So: copy the list from the standard to get all standard genres.

Hello

Thanks for you prompt reply.

Good to now that it can be ignored, but the question that now arises is where are current /previous custom values stored and how to get a list of them again to add to the revised text file I am creating for my version of custom genres?

Cheers and as always many, many thanks for your fantastic creation that is MP3TAG,

Hummmm....good idea, ohrenkino. I'll import them into LibreOffice Calc and sort them alphabetically and see if genres corresponds to ones in the program.

Thanks for posting the definitions and links - most helpful LyricsLover,, Ta very much

1 Like

It's stored inside the Mp3tag.exe binary file and not visible to the user. If you already copied the list @LyricsLover posted, it's almost identical to what I'm using:

A Cappella
Abstract
Acid
Acid Jazz
Acid Punk
Acoustic
Alt. Rock
Alternative
Ambient
Anime
Art Rock
Audio Theatre
Audiobook
Avantgarde
Ballad
Baroque
Bass
Beat
Bebob
Bhangra
Big Band
Big Beat
Black Metal
Bluegrass
Blues
Booty Bass
Breakbeat
Britpop
Cabaret
Celtic
Chamber Music
Chanson
Chillout
Chorus
Christian Gangsta Rap
Christian Rap
Christian Rock
Classic Rock
Classical
Club
Club-House
Comedy
Contemporary Christian
Country
Crossover
Cult
Dance
Dance Hall
Darkwave
Death Metal
Disco
Downtempo
Dream
Drum & Bass
Drum Solo
Dub
Dubstep
Duet
Easy Listening
EBM
Eclectic
Electro
Electroclash
Electronic
Emo
Ethnic
Euro-House
Euro-Techno
Eurodance
Experimental
Fast Fusion
Folk
Folk-Rock
Folklore
Freestyle
Funk
Fusion
G-Funk
Game
Gangsta
Garage
Garage Rock
Global
Goa
Gospel
Gothic
Gothic Rock
Grunge
Hard Rock
Hardcore
Heavy Metal
Hip-Hop
House
Humour
IDM
Illbient
Indie
Indie Rock
Industrial
Industro-Goth
Instrumental
Instrumental Pop
Instrumental Rock
Jam Band
Jazz
Jazz+Funk
JPop
Jungle
Krautrock
Latin
Leftfield
Lo-Fi
Lounge
Math Rock
Meditative
Merengue
Metal
Musical
National Folk
Native American
Neoclassical
Neue Deutsche Welle
New Age
New Romantic
New Wave
Noise
Nu-Breakz
Oldies
Opera
Other
Podcast
Polka
Polsk Punk
Pop
Pop-Folk
Pop/Funk
Porn Groove
Post-Punk
Post-Rock
Power Ballad
Pranks
Primus
Progressive Rock
Psybient
Psychedelic
Psychedelic Rock
Psytrance
Punk
Punk Rock
R&B
Rap
Rave
Reggae
Retro
Revival
Rhythmic Soul
Rock
Rock & Roll
Salsa
Samba
Satire
Shoegaze
Showtunes
Ska
Slow Jam
Slow Rock
Sonata
Soul
Sound Clip
Soundtrack
Southern Rock
Space
Space Rock
Speech
Swing
Symphonic Rock
Symphony
Synthpop
Tango
Techno
Techno-Industrial
Terror
Thrash Metal
Top 40
Trailer
Trance
Tribal
Trip-Hop
Trop Rock
Vocal
World Music

I thought as much, thank you for posting the list which will make a lot easier rather than copy/paste each genre individually.