@rdswift thank you for developing this plugin
It would be great if users could share some of their Genre Mapper scripts. I’m envisioning a lot of trial-and-error to normalize MB genre tags so it would be great to reuse what other users have already found to work well against the MB database.
3 Likes
After plenty of trial-and-error I’ll go first. If the musicbrainz genre lookup is limited to a single genre then Genre Mapper can be used to break up the main genre into multiple genres without duplicating list items (it would be more flexible if Genre Mapper did a final list dedupe, but it may or may not actually lead to better results). To speed up matching and to make everything tidy I tried to limit each mapping to a single line using regex grouping, thus ordering matters (granular rules are earlier in the script and broader catch-alls are later).
- Match tests are entered as regular expressions
- Apply only the first matching replacement
= 20260511
= MULTI-GENRE BUCKETS (MUST SPECIFY FIRST)
.*(christian|gospel) hardcore.*=Religious;Punk
.*(christian|gospel) metal.*=Religious;Metal
.*(christian|gospel) rock.*=Religious;Rock
.*(christian|gospel) (hip hop|\brap\b).*=Religious;Hip Hop
.*gospel house.*=Religious;Electronic
.*gospel reggae.*=Religious;Reggae
.*country gospel.*=Religious;Country
.*bluegrass gospel.*=Bluegrass;Religious
.*western swing.*=Country;Jazz
.*(viking|pagan) metal.*=Scandinavian;Metal
.*folk metal.*=Folk;Metal
.*folk punk.*=Folk;Punk
.*folk rock.*=Folk;Rock
.*folk pop.*=Folk;Pop
.*folkhop.*=Folk;Hip Hop
.*gypsy punk.*=Folk;Punk
.*chamber folk.*=Folk;Classical
.*progressive folk.*=Folk;Progressive Rock
.*celtic electronica.*=Celtic;Electronic
.*celtic metal.*=Celtic;Metal
.*celtic new age.*=Celtic;New Age
.*celtic punk.*=Celtic;Punk
.*celtic rock.*=Celtic;Rock
.*african blues.*=African;Blues
.*afro[- ]?cuban jazz.*=African;Latin;Jazz
.*afro[- ]?funk.*=African;Funk
.*afro(beat)?[- ]?house.*=African;Electronic
.*afro[- ]?jazz.*=African;Jazz
.*afro[- ]?pop.*=African;Pop
.*afro[- ]?rock.*=African;Rock
.*afro[- ]?trap.*=African;Trap
.*afro[- ]?zouk.*=African;Caribbean
.*\b(j|k|c|t|v)[- ]?pop\b.*=Asian;Pop
.*\b(j|k|c|t|v)[- ]?rock\b.*=Asian;Rock
.*arabesk rap.*=Asian;Hip Hop
.*indian pop.*=Asian;Pop
.*indo jazz.*=Asian;Jazz
.*japanese classical.*=Asian;Classical
.*turkish classical.*=Asian;Classical
.*turkish pop.*=Asian;Pop
.*vietnamese classical.*=Asian;Classical
.*bossa nova.*=Latin;Jazz
.*(latin|chicano) (rap|hip hop).*=Latin;Hip Hop
.*latin ballad.*=Latin;Pop
.*latin disco.*=Latin;Disco
.*latin funk.*=Latin;Funk
.*latin house.*=Latin;Electronic
.*latin jazz.*=Latin;Jazz
.*latin pop.*=Latin;Pop
.*latin rock.*=Latin;Rock
.*latin soul.*=Latin;Soul
.*brazilian bass.*=Latin;Electronic
.*brazilian phonk.*=Latin;Trap
.*cumbia pop.*=Latin;Pop
.*electro latino.*=Latin;Electronic
.*finnish tango.*=Scandinavian;Latin
.*flamenco jazz.*=Latin;Jazz
.*flamenco pop.*=Latin;Pop
.*samba[- ]?jazz.*=Latin;Jazz
.*samba[- ]?rock.*=Latin;Rock
.*samba soul.*=Latin;Soul
.*(country|roots) rock.*=Country;Rock
.*country (rap|hip hop).*=Country;Hip Hop
.*country blues.*=Country;Blues
.*country folk.*=Country;Folk
.*country pop.*=Country;Pop
.*country soul.*=Country;Soul
.*blues rock.*=Blues;Rock
.*jazz rock.*=Jazz;Rock
.*jazz (rap|hip hop).*=Jazz;Hip Hop
.*jazz[- ]?funk.*=Jazz;Funk
.*jazz blues.*=Jazz;Blues
.*jazz house.*=Jazz;Electronic
.*jazz pop.*=Jazz;Pop
.*dance[- ]?pop.*=Dance;Pop
.*dance[- ]?punk.*=Dance;Punk
.*dance[- ]?rock.*=Dance;Rock
.*pop punk.*=Pop;Punk
.*pop rock.*=Pop;Rock
.*pop (rap|hip hop).*=Pop;Hip Hop
.*pop metal.*=Pop;Metal
.*pop soul.*=Pop;Soul
.*rap metal.*=Hip Hop;Metal
.*rap rock.*=Hip Hop;Rock
.*rapcore.*=Hip Hop;Metal
.*reggae rock.*=Reggae;Rock
.*reggae[- ]?pop.*=Reggae;Pop
.*ragga (hip[- ]?hop|\brap\b).*=Reggae;Hip Hop
.*ragga jungle.*=Reggae;Electronic
.*ska punk.*=Ska;Punk
.*ambient (techno|house|dub).*=Ambient;Electronic
.*ambient pop.*=Ambient;Pop
.*ambient americana.*=Ambient;Americana
.*lo[- ]?fi (rap|hip hop).*=Lo-Fi;Hip Hop
.*lo[- ]?fi house.*=Lo-Fi;Electronic
.*(psychedelic|psych)[- ]?rock.*=Psychedelic;Rock
.*acid rock.*=Psychedelic;Rock
.*(garage|heavy) psych.*=Psychedelic;Rock
.*neo[- ]?psych.*=Psychedelic;Pop
.*(psychedelic|psych)[- ]?pop.*=Psychedelic;Pop
.*(psychedelic|psych)[- ]?folk.*=Psychedelic;Folk
.*(psychedelic|psych)[- ]?soul.*=Psychedelic;Soul
.*((synth|electro|future|hypnagogic)pop|minimal synth).*=Electronic;Pop
.*electro[- ]?swing.*=Electronic;Jazz
.*electro[- ]?disco.*=Electronic;Disco
.*electro[- ]?funk.*=Electronic;Funk
.*electro[- ]?industrial.*=Electronic;Industrial
.*electronic rock.*=Electronic;Rock
.*hardcore (techno|breaks).*|.*(happy|freeform|uptempo) hardcore.*=Electronic
.*synth[- ]?funk.*=Electronic;Funk
.*synth[- ]?punk.*=Electronic;Punk
.*comedy (hip hop|\brap\b).*=Comedy;Hip Hop
.*comedy rock.*=Comedy;Rock
.*goth(ic)? metal.*=Dark;Metal
.*goth(ic)? country.*=Dark;Country
.*dark ambient.*=Dark;Ambient
.*dark folk.*=Dark;Folk
.*dark jazz.*=Dark;Jazz
.*dark disco.*=Dark;Disco
.*hip house.*=Hip Hop;Electronic
.*industrial folk.*=Industrial;Folk
.*industrial hardcore.*=Industrial;Punk
.*industrial techno.*=Industrial;Electronic
.*industrial (hip hop|\brap\b).*=Industrial;Hip Hop
.*industrial metal.*=Industrial;Metal
.*industrial rock.*=Industrial;Rock
.*punk blues.*=Punk;Blues
.*punk (rap|hip hop).*=Punk;Hip Hop
.*hardcore (hip hop|\brap\b).*=Punk;Hip Hop
.*soul blues.*=Soul;Blues
.*soul jazz.*=Soul;Jazz
.*trap dancehall.*=Trap;Reggae
.*trap latino.*=Latin;Trap
.*trap metal.*=Trap;Metal
.*trap soul.*=Trap;Soul
.*emo (rap|hip hop).*=Emo;Hip Hop
.*vocal (house|trance).*=Vocal;Electronic
.*vocal jazz.*=Vocal;Jazz
.*vocal surf.*=Vocal;Rock
.*progressive metal.*=Progressive Rock;Metal
.*funk metal.*=Funk;Metal
.*funk rock.*=Funk;Rock
.*(black|death) 'n' roll.*=Metal;Rock
.*doomgaze.*=Metal;Shoegaze
.*blackened crust.*=Metal;Punk
.*crossover thrash.*=Metal;Punk
.*avant[- ]?garde jazz.*=Experimental;Jazz
.*avant[- ]?garde metal.*=Experimental;Metal
.*avant[- ]?garde pop.*=Experimental;Pop
.*avant[- ]?folk.*=Experimental;Folk
.*noise pop.*=Experimental;Pop
.*noise rock.*=Experimental;Rock
.*alternative country.*=Alternative;Country
.*alternative dance.*=Alternative;Dance
.*alternative folk.*=Alternative;Folk
.*alternative (hip hop|\brap\b).*=Alternative;Hip Hop
.*alternative metal.*=Alternative;Metal
.*alternative pop.*=Alternative;Pop
.*alternative punk.*=Alternative;Punk
.*alternative (r&b|rnb).*=Alternative;R&B
.*(indie|twee|jangle) pop.*=Indie;Pop
.*(indie|slacker) rock.*=Indie;Rock
.*(indie folk|slowcore|filk).*=Indie;Folk
.*(indietronica|indie electronic).*=Indie;Electronic
.*europop.*=European;Pop
= HOLIDAY / RELIGIOUS / SPOKEN / SOUNDTRACK / MUSICAL
.*(christmas|xmas|holiday|winter).*=Holiday
.*(christian|gospel|praise|worship|church|sacred|spiritual|liturg|chant|nasheed|hymn|qawwali|bhajan|kirtan|piyyut|abhang|cantorial|chazzanut|baqashot|ginan|jesus music|kontakion|maddahi|maftirim|nigun|ring shout|shabad kirtan|sticheron|sufiana kalam|taoist ritual music|troparion|vedic chant|villancico).*=Religious
.*(spoken word|poetry|lecture|sermon|audio documentary|audio drama|monodrama|speech|cowboy poetry|slam poetry|sound poetry).*=Spoken
.*(soundtrack|score|production music|video game|cinematic).*=Soundtrack
.*(musical|operetta|parlour music|vaudeville|show tune|music hall|revue|tin pan alley).*=Musical
.*(children's music|fairy tale|lullaby|rabbit song).*=Children's
.*(brass band|concert band|concertina band|drum and bugle corps|drumline|circus march|funeral march|guggenmusik|^march$|marching band|pep band|pipe band music|^fife and drum$).*=Band Music
= INSTRUMENTAL
^instrumental$=Instrumental
= CLASSICAL / OPERA
.*(opera|operatic|zarzuela|g[eé]nero chico|g[eé]nero grande|grand opera|opéra comique|opera buffa|opera semiseria|opera seria|romantische oper).*=Opera
.*(classical|baroque|romantic|orchestral|cantata|concerto|choral|fugue|étude|madrigal|mass|motet|nocturne|oratorio|overture|prelude|requiem|sonata|string quartet|symphon|toccata|renaissance|medieval|plainchant|polyphon|ars antiqua|ars nova|ars subtilior|verismo|zeitoper|art song|bagatelle|ballet|ballet de cour|canzona|capriccio|character piece|comédie-ballet|concerto grosso|concerto for orchestra|concert spiritual|conducted improvisation|contenance angloise|divertissement|english pastoral school|expressionism|fantasia|holy minimalism|impressionism|impromptu|indeterminacy|integral serialism|lauda|lute song|mélodie|microtonal classical|modern classical|modern creative|neoclassicism|new complexity|novelty piano|passion setting|process music|ricercar|serialism|serenade|sinfonia concertante|singspiel|sonorism|spectralism|stochastic music|theme and variations|third stream|totalism|waltz).*=Classical
= INDUSTRIAL
.*(industrial|ebm|cyberpunk|steampunk|aggrotech|dark electro|darksynth|power electronics|death industrial|martial industrial|post-industrial).*=Industrial
= DARK
^goth(ic)?$|.*(gothic rock|goth rock|dark ?wave|coldwave|ethereal wave|deathrock|hauntology|dark cabaret|neoclassical dark wave).*=Dark
= COMEDY
.*(comedy|cabaret|kabarett|standup comedy|sketch comedy).*=Comedy
= INDIE
.*(indie|c86|dunedin sound).*=Indie
= TRAP
.*(trap|drill|phonk|plugg|grime|hexd|digicore|dariacore|sigilkore|sample drill|sexy drill|terror plugg|drift phonk|vaportrap).*=Trap
= PUNK / EMO
.*((ska|queer|emo|cuddle|mince|swan|krush|easy|sass|thrash)core|cowpunk|dance[- ]?punk|\bpunk\b|oi\b|riot grrrl|crust|powerviolence|psychobilly|hardcore|beatdown|uk82|post[- ]?hardcore|art punk|d[- ]beat|garage punk|hopepunk|horror punk|mashcore|pigfuck|proto-punk|raw punk|skate punk|slimepunk|street punk).*=Punk
.*(emo|screamo|midwest emo).*=Emo
= METAL
.*((math|doom|cyber|nintendo|death)core|metal|djent|thall|nwobhm|sludge|grind|blackgaze|stenchcore|war metal).*=Metal
= ROCK
^alternative$|.*(alternative rock|alt[- ]?rock|britpop|grunge|madchester).*=Alternative Rock
.*(progressive rock|avant[- ]?prog|crossover prog|\bprog\b|space rock|krautrock|canterbury scene|zeuhl|zolo|neo-progressive rock|progressive).*=Progressive Rock
.*\b(psychedelic|psych)\b.*=Psychedelic
.*(hard rock|arena rock|glam rock|sleaze rock|stoner rock).*=Hard Rock
.*(soft rock|yacht rock).*=Soft Rock
.*(classic rock|rock and roll|pub rock|heartland rock|rockabilly).*=Classic Rock
.*math rock.*=Math Rock
.*new wave.*=New Wave
.*(\brock\b|surf|merseybeat|freakbeat|rautalanka|visual kei|group sounds|\baor\b|\bmod\b|jam band|glam|alpenrock|anatolian rock|bard rock|beat music|black midi|burning spirits|donosti sound|garage rock|garage rock revival|geek rock|grebo|hamburger schule|indorock|jovem guarda|k[öo]nsrock|loud kei|mainstream rock|medieval rock|modern laiko|paisley underground|rock andaluz|rock andino|rock kapak|rock musical|rock opera|rock rural|rock urbano|rock urbano mexicano|soft visual|sufi rock|surf rock|zamrock).*=Rock
= ELECTRONIC / DANCE / DISCO
.*((dub|bro|death|drum|chill|trance)step|tearout|briddim|(break|speed|french|hard|terror|flash|night|amiga|frap|daria|j[- ]?|loli|pump|acid|future)core|crossbreed|extratone|splittercore|nitzhonot|(chill|vapor|synth|retro|soviet|slush|spam|witch)wave|house|techno|trance|jungle|breakbeat|\bbreaks\b|garage|2[- ]?step|3[- ]?step|\bedm\b|\bidm\b|electro|electronic|future bass|future bounce|future rave|future riddim|downtempo|chillout|dungeon sound|halftime|hardstyle|gabber|darkstep|techstep|hardstep|footwork|juke|leftfield|makina|hardbass|moombah|complextro|schranz|skweee|wonky|illbient|eccojams|utopian virtual|ytpmv|algorave|autonomic|bassline|jazzstep|seapunk|nerdcore techno|drum and bass|psybient|big beat|acid|balearic beat|barber beats|beat bolha|beat bruxaria|beat fino|berlin school|birmingham sound|bit music|bitpop|bleep techno|bubblegum bass|bubbling|break-in|breakstep|broken beat|changa tuki|chillsynth|chiptune|colour bass|comfy synth|darkcore|deep tech|deconstructed club|deejay|demostyle|digital fusion|donk|dubstyle|dubwise|dreampunk|dungeon synth|electroclash|eurobeat|fm synthesis|free tekno|full-on|future core|future funk|ghettotech|goa trance|hands up|hard drum|hard nrg|hardbag|hardvapour|hardwave|hi-nrg|hi-tech|horror synth|hyper techno|hypertechno|j-euro|jersey sound|jump up|jumpstyle|kankyō ongaku|kawaii future bass|liquid riddim|lento violento|livetronica|lowend|mallsoft|melodic bass|microfunk|microhouse|midtempo bass|modern hardtek|moogsploitation|new beat|nightcore|nortec|nu skool breaks|nustyle|organic house|outsider house|palingsound|peak time techno|philly club|phonk house|pon-chak disco|porn groove|powerstomp|progressive breaks|psybreaks|psycore|psystyle|rave|riddim dubstep|rominimal|rawphoric|rawstyle|romanian popcorn|sampledelia|skullstep|slowed & reverb|snap|spacesynth|stutter house|synthwave|tape music|techno bass|technoid|technobanda|tecnobrega|tecnofunk|tecnomerengue|tecnorumba|tread|trancestep|tribal guarachero|tribal house|twerk|uk jackin|vaporwave|vaigat|vinahouse|wa euro|wave|weightless|wonky techno|wong shadow|xtra raw|yakousei).*=Electronic
.*disco.*=Disco
.*(dance|club|freestyle|ballroom|budots|go-go).*=Dance
= HIP-HOP / TRIP-HOP
.*trip[- ]?hop.*=Trip-Hop
.*(hip[- ]?hop|\brap\b|boom bap|turntablism|crunk|gangsta|beatboxing|chopped and screwed|bounce|miami bass|hyphy|jerk|nerdcore|chopper|g-funk|dirty south|abstract hip hop|battle rap|battle record|britcore|chap hop|cloud rap|coke rap|conscious hip hop|drumless hip hop|dungeon rap|east coast hip hop|folkhop|frat rap|hardcore hip hop|hipco|horrorcore|houston sound|mafioso rap|memphis rap|mobb music|neurohop|old school hip hop|political hip hop|punk rap|rage|rapso|ratchet music|scam rap|southern hip hop|stoner rap|underground hip hop).*=Hip Hop
= R&B / SOUL / FUNK
.*(r&b|rnb|neo[- ]?soul|new jack swing|doo[- ]wop|contemporary r&b|hip hop soul).*=R&B
.*(soul|motown|quiet storm|blue[- ]eyed soul|deep soul|minneapolis sound|philly soul).*=Soul
.*(funk|boogie|p-funk).*=Funk
= VOCAL / EASY LISTENING
.*(traditional pop|vocal jazz|barbershop|a cappella|close harmony|crooner|standards|ballad|canción melódica|canzone d'autore|canzone napoletana|canzone neomelodica|coon song|oriental ballad|vocalese).*=Vocal
.*(easy[- ]?listening|exotica|beach music|cocktail nation|cruise|free car music|hot rod music|lounge|space age pop).*=Easy Listening
= JAZZ / BLUES
.*(jazz|bebop|bop\b|swing|dixieland|ragtime|big band|stride|cape jazz|chicago bop|cool jazz|crime jazz|free jazz|gypsy jazz|hard bop|hot club|jazz guachaca|jazz mugham|modal jazz|neo[- ]?bop|new jazz|orchestral jazz|post-bop|smooth jazz|spiritual jazz|sweet jazz).*=Jazz
.*(blues|jug band|fife and drum blues|hill country blues|louisiana blues|piedmont blues|swamp blues).*=Blues
= REGGAE / SKA
.*(2 tone|\bdub\b|dancehall|ragga|rocksteady|lovers rock|reggae|mento|soca|calypso|zouk|jawaiian|seggae).*=Reggae
.*\bska\b.*=Ska
= POP
.*(art|baroque|chamber|progressive|dream|math|operatic|sophisti|sunshine) pop.*=Art Pop
.*(\b[a-z]*[- ]?pop\b|brill building|bubblegum|city pop|schlager|chanson|idol|kay[ōo]kyoku|denpa|doskpop|shibuya[- ]?kei|akishibu[- ]?kei|cantopop|mandopop|moe song|nyū myūjikku|opm|picopop|pimba|synth[- ]?pop|teen pop|toypop|twee pop).*=Pop
= NOISE / EXPERIMENTAL / AMBIENT / LO-FI / SHOEGAZE
.*(black noise|gorenoise|harsh noise|harsh noise wall|noise|noisecore|power noise).*=Noise
.*lo[- ]?fi.*=Lo-Fi
.*gaze.*=Shoegaze
.*ambient.*=Ambient
.*new age.*=New Age
.*(experimental|avant[- ]?garde|field recording|plunderphonics|sound collage|concr[eè]te|improvisation|acousmatic|electroacoustic|onkyo|lowercase|\bdrone\b|minimalism|glitch|bytebeat|epic collage|microsound|eai|artcore|broken transmission|free improvisation|futurism|psychploitation|reductionism|sampledelia|sitarsploitation|sound art).*=Experimental
= SINGER-SONGWRITER / FOLK / AMERICANA / COUNTRY / BLUEGRASS
.*singer[- ]?songwriter.*=Singer-Songwriter
.*(americana|roots rock|alt[- ]?country|zydeco|cajun|tejano|scrumpy and western|cosmic country).*=Americana
.*(bluegrass|jamgrass).*=Bluegrass
.*(american primitive|anti[- ]?folk|folktronica|\bfolk\b|sea shanty|klezmer|polka|skiffle|bardcore|neofolk|appalachian folk|avtorskaya pesnya|bagad|baul gaan|batonebi songs|canto a lo poeta|canto cardenche|canto degli alpini|cantoria|cantu a chiterra|cantu a tenore|campus folk|contra|drinking song|freak folk|free folk|griot|hornpipe|hungarian folk|industrial folk song|isicathamiya|james bay fiddling|joik|kan ha diskan|loner folk|métis fiddling|neo-acoustic|néo-trad|old-time|paghjella|payada|pásztordal|pìobaireachd|pirekua|polonaise|punto|rizitika|runo song|slack-key guitar|stomp and holler|sutartinės|trallalero|trikitixa|work song|yodeling).*=Folk
.*(country|nashville sound|honky tonk|western|bakersfield|red dirt|bro-country|boyfriend country|countrypolitan|truck driving country|urban cowboy).*=Country
= REGIONAL / WORLD / LATIN / CARIBBEAN
.*(bachata|bachatón|bolero|boogaloo|bomba|chachach[aá]|charanga|corrido|corrido tumbado|conga|cumbia|danz[oó]n|descarga|guaguanc[oó]|guajira|guaracha|guarania|latin|lundu|mambo|mangue beat|mariachi|merengue|mpb|norte[ñn]o|nueva canci[oó]n|nueva trova|nuevo cancionero|nuevo tango|onda nueva|pachanga|pagode|plena|porro|ranchera|regional mexicano|rumba|salsa|samba|son cubano|son montuno|son calentano|son huasteco|son istmeño|son jarocho|son nica|songo|tango|tiento|timba|tropic[aá]l[ií]a|tropicanibalismo|tumba|tumba francesa|vallenato|reggaeton|rkt|forr[oó]|brega|ax[eé]|sertanejo|champeta|banda|grupera|pasillo|joropo|cuarteto|chicha|batida|spanish|flamenco|fado|afoxê|agronejo|arrocha|arrochadeira|baguala|baião|baila|bambuco|bandinha|batidão|batucada|batuque|bulería|bullerengue|calipso venezolano|candombe|caporal|carimbó|carnavalito|carranga|chacarera|chamamé|chamarrita|changüí|chilena|choro|chotis madrileño|ciranda|coladeira|coco|copla|cuplé|cueca|currulao|cubatón|desgarrada|doble paso|dobrado|duranguense|embolada|fandango|fandango caiçara|festejo|filin|frevo|guitarrada|habanera|huapango|huaylarsh|huayno|jácara|jongo|jota|lambada|landó|liscio|malagueña venezolana|maracatu|marchinha|marinera|maxixe|merecumbé|merequetengue|milonga|moda de viola|modinha|morenada|movimiento alterado|música cebolla|música criolla|música de intervenção|música llanera|música típica chilena|muiñeira|murga|murga uruguaya|neoperreo|nova cançó|nuevo flamenco|pagodão|pagode romântico|partido alto|pasodoble|piseiro|pizzica|pilón|polca criolla|punta|puxa|rasqueado cuiabano|rasteirinha|reparto|repente|ritmada|rock andaluz|rock andino|rock urbano|rock urbano mexicano|rumba catalana|rumba cubana|rumba flamenca|saeta|salsa choke|salsa dura|salsa romántica|samba de breque|samba de gafieira|samba de roda|samba de terreiro|samba-canção|samba-choro|samba-enredo|samba-exaltação|samba-joia|sambalanço|sardana|seguidilla|sertanejo raiz|sertanejo romântico|sertanejo universitário|sevillanas|sierreño|son de pascua|saya afroboliviana|tamborera|tamborito|tamborzão|tajaraste|tammurriata|taquirari|tarantella|tecnobrega|tecnofunk|tecnomerengue|tecnorumba|tex-mex|tonada asturiana|tonada potosina|tonadilla|tondero|tropical rock|tropipop|trova|trova yucateca|vals criollo|vals venezolano|valsa brasileira|vanera|xaxado|xote|xuc|yaraví|yé-yé|yu-mex|zamba|zoblazo).*=Latin
.*(chutney|steel band|spouge|bouyon|compas|dembow|dennery segment|b[eé]l[eé]|biguine|cadence|benna|cadence lypso|cadence rampa|fungi|goombay|gwo ka|haitian vodou drumming|junkanoo|kaseko|kasékò|méringue|moutya|palo de mayo|parang|rara|rasin|ripsaw|séga|séga tambour|staïfi|traditional séga|twoubadou|zouk love).*=Caribbean
.*(celtic|gaelic|irish|scottish|welsh|english|british|sean[- ]?n[oó]s|puirt [àa] beul|waulking song|cape breton fiddling|celtic chant|kan ha diskan|piobaireachd|pibroch).*=Celtic
.*(nordic|scandinavian|swedish|norwegian|finnish|danish|icelandic|dansband|humppa).*=Scandinavian
.*(slavic|russian|turbo[- ]?folk|chalga|manele|french|german|italian|rebetiko|european|avanzada|bocet|csárdás|doina|čalgija|colindă|dechovka|dansktop|éntekhno|estrada|euskal kantagintza berria|gstanzl|hambo|izvorna bosanska muzika|klapa|kleinkunst|krakowiak|kujawiak|ländlermusik|levenslied|lied|liscio|mazurka|musette|narodnozabavna glasba|nederbeat|nederpop|neue deutsche härte|neue deutsche todeskunst|neue deutsche welle|nóta|oberek|powada|schottische|sevdalinka|skiladiko|stornello|tragédie en musique|trampská hudba|verbunkos|volkstümliche musik).*=European
.*(afrobeat|afrobeats|afropiano|alté|amapiano|bongo flava|coup[eé][- ]?d[eé]cal[eé]|fuji|gengetone|gqom|highlife|hiplife|j[uù]j[uù]|kwaito|makossa|maloya|mbaqanga|mbalax|morna|semba|shangaan electro|singeli|soukous|taarab|township|zouglou|kizomba|kuduro|african|acholitronix|agbadza|agbekor|ambasse bey|assiko|bacardi|balani show|banga|aleke|alloukou|apala|bend-skin|benga|beni|bikutsi|burger-highlife|chimurenga|fakaseasea|famo|funaná|genge|gnawa|gumbe|jit|jùjú|kadongo kamu|kalindula|kalon'ny fahiny|kaneka|kidandali|kidumbak|kilapanga|kwassa kwassa|kwela|mangambeu|marabi|marrabenta|maskanda|mbolé|mbube|mchiriku|menzuma|muliza|muziki wa dansi|ngoma|njuup|omutibo|palm-wine|qaraami|salegy|shatta|sigidrigi|sungura|takamba|tarraxinha|tchinkoumé|timbila|tizita|tradi-moderne congolais|tradi-moderne ivoirien|tsapiky|vude|waka|wassoulou|ziglibithy|zinli|zess).*=African
.*(arabesk|chaabi|dabke|dangdut|enka|fusion gugak|gagaku|gamelan|garba|ghazal|hindustani|indian|japanese|keroncong|luk thung|maqam|min['’]?y[oō]|mor lam|mizrahi|pinpeat|shashmaqam|shaabi|thumri|trot|asian|aak|baisha xiyue|bantengan|ca trù|cải lương|campursari|dongjing|filmi|funkot|bhangra|adhunik geet|ahwash|aita|al jeel|baithak gana|balitaw|bandari|beompae|bhavageethe|biraha|boduberu|bogino duu|burmese mono|burmese stereo|burrakatha|changjak gugak|chaozhou xianshi|chèo|chinese literati music|chöd|cilokaq|dangak|danmono|dhaanto|dhol tasha|dhrupad|dikir barat|dimotiko|dondang sayang|duma|falak|fijiri|gaana|gagok|gambang kromong|gondang|guangdong yinyue|gufeng|guoyue|hanmai|haozi|harana|harawi|hát tuồng|heikyoku|himene tarava|hyangak|iavnana|iraqi maqam|islamic modal music|izlan|jaipongan|jiangnan sizhu|jeongak|jiuta|jōruri|kacapi suling|kafi|kagura|kai|kakawin|kalattut|kantruem|kantan chamorrita|kanto|kapuka|kecak|ketuk tilu|khrueang sai|khyal|kilapanga|kliningan|konnakol|koplo|korean ballad|korean classical|korean revolutionary opera|kouta|kréyol djaz|kuda lumping|kulintang|kumi-daiko|kumiuta|kundiman|kunqu|langgam jawa|laiko|liwa|luk krung|lavani|mahori|mahraganat|malay gamelan|malhun|malouf|manila sound|mantra|manyao|mappila|mataali|meiji shinkyoku|meyxana|min'yō|mood kayō|mor lam sing|mugham|mūsīqā lubnāniyya|muzika mizrahit|muzika yehudit mekorit|muzikat dika'on|nagauta|nanguan|natya sangeet|neo kyma|ngâm thơ|nhạc đỏ|nhạc tiền chiến|nhạc vàng|noh|odissi classical|ogene music|ondō|orkes gambus|özgün müzik|pansori|persian classical|persian pop|phleng phuea chiwit|piphat|pungmul|qasidah modern|quan họ|quyi|rabiz|raqs baladi|rigsar|rōkyoku|ryūkōka|sa'idi|saluang klasik|sanjo|sarala gee|sawt|shan'ge|shidaiqu|shima-uta|shinkyoku|shōmyō|shoor|sichuan opera|sinawi|sizhu music|sōkyoku|southeast asian classical|sundanese pop|t-pop|talempong|talempong goyang|tân cổ giao duyên|tanjidor|tappa|tarana|tarawangsa|tembang cianjuran|thai classical|tibetan buddhist chant|tivaner inngernerlu|tsugaru-jamisen|turkish folk|uaajeerneq|udigrudi|unakesa|unyago|upopo|urtiin duu|urumi melam|uyghur muqam|uzun hava|v-pop|wangga|xẩm|yayue|yue opera|yukar|zhongguo feng).*=Asian
.*(world|ethnic|global|raï|aboio|aita|boedra|cakewalk|change ringing|chimayche|djanba|eleki|fantezi|filipino rondalla|fon leb|gommance|għana|hapa haole|isa|jubilee|kete|klasik|mad|minatory|minstrelsy|mulatós|muak|new mexico music|ori deck|purple sound|red song|regalia|rom kbach|samri|santé engagé|seto leelo|shanto|tallava|tassa|tassu|tchinkoumé|tivaner inngernerlu|whistling|white voice|zema|zemirot|zenonesque|zeybek|zohioliin duu|ʻōteʻa).*=World
= FINAL CATCH-ALL
.*=Other
The final catch-all rule assigns Other to any genre that is not matched, which is easy to filter for in a subsequent pass. If you’d rather have the unmatched genre kept unchanged then comment out that final catch-all.
That will map most of the musicbrainz genres to the following genre buckets:
African
African;Blues
African;Caribbean
African;Electronic
African;Funk
African;Jazz
African;Latin;Jazz
African;Pop
African;Rock
African;Trap
Alternative Rock
Alternative;Country
Alternative;Dance
Alternative;Folk
Alternative;Hip Hop
Alternative;Metal
Alternative;Pop
Alternative;Punk
Alternative;R&B
Ambient
Ambient;Americana
Ambient;Electronic
Ambient;Pop
Americana
Art Pop
Asian
Asian;Classical
Asian;Hip Hop
Asian;Jazz
Asian;Pop
Asian;Rock
Band Music
Bluegrass
Bluegrass;Religious
Blues
Blues;Rock
Caribbean
Celtic
Celtic;Electronic
Celtic;Metal
Celtic;New Age
Celtic;Punk
Celtic;Rock
Children's
Classic Rock
Classical
Comedy
Comedy;Hip Hop
Comedy;Rock
Country
Country;Blues
Country;Folk
Country;Hip Hop
Country;Jazz
Country;Pop
Country;Rock
Country;Soul
Dance
Dance;Pop
Dance;Punk
Dance;Rock
Dark
Dark;Ambient
Dark;Country
Dark;Disco
Dark;Folk
Dark;Jazz
Dark;Metal
Disco
Easy Listening
Electronic
Electronic;Disco
Electronic;Funk
Electronic;Industrial
Electronic;Jazz
Electronic;Pop
Electronic;Punk
Electronic;Rock
Emo
Emo;Hip Hop
European
European;Pop
Experimental
Experimental;Folk
Experimental;Jazz
Experimental;Metal
Experimental;Pop
Experimental;Rock
Folk
Folk;Classical
Folk;Hip Hop
Folk;Metal
Folk;Pop
Folk;Progressive Rock
Folk;Punk
Folk;Rock
Funk
Funk;Metal
Funk;Rock
Hard Rock
Hip Hop
Hip Hop;Electronic
Hip Hop;Metal
Hip Hop;Rock
Holiday
Indie
Indie;Electronic
Indie;Folk
Indie;Pop
Indie;Rock
Industrial
Industrial;Electronic
Industrial;Folk
Industrial;Hip Hop
Industrial;Metal
Industrial;Punk
Industrial;Rock
Instrumental
Jazz
Jazz;Blues
Jazz;Electronic
Jazz;Funk
Jazz;Hip Hop
Jazz;Pop
Jazz;Rock
Latin
Latin;Disco
Latin;Electronic
Latin;Funk
Latin;Hip Hop
Latin;Jazz
Latin;Pop
Latin;Rock
Latin;Soul
Latin;Trap
Lo-Fi
Lo-Fi;Electronic
Lo-Fi;Hip Hop
Math Rock
Metal
Metal;Punk
Metal;Rock
Metal;Shoegaze
Musical
New Age
New Wave
Noise
Opera
Other
Pop
Pop;Hip Hop
Pop;Metal
Pop;Punk
Pop;Rock
Pop;Soul
Progressive Rock
Progressive Rock;Metal
Psychedelic
Psychedelic;Folk
Psychedelic;Pop
Psychedelic;Rock
Psychedelic;Soul
Punk
Punk;Blues
Punk;Hip Hop
R&B
Reggae
Reggae;Electronic
Reggae;Hip Hop
Reggae;Pop
Reggae;Rock
Religious
Religious;Country
Religious;Electronic
Religious;Hip Hop
Religious;Metal
Religious;Punk
Religious;Reggae
Religious;Rock
Rock
Scandinavian
Scandinavian;Latin
Scandinavian;Metal
Shoegaze
Singer-Songwriter
Ska
Ska;Punk
Soft Rock
Soul
Soul;Blues
Soul;Jazz
Soundtrack
Spoken
Trap
Trap;Metal
Trap;Reggae
Trap;Soul
Trip-Hop
Vocal
Vocal;Electronic
Vocal;Jazz
Vocal;Rock
World
Obviously those buckets are a matter of taste and I’m excluding more complex subgenres in electronic and classical, especially.
Feel free to fix/extend or share your own.
Edit: As of the 20260511 version, I think we’re at full coverage. I will probably move this to GitHub at some point so it’s easier to manage and version control.
5 Likes