Fix old school aliases

This commit is contained in:
Šarūnas Nejus
2026-07-09 14:06:21 +01:00
parent e004fa48e4
commit 730c997f7d
4 changed files with 9 additions and 2 deletions

View File

@@ -31,7 +31,9 @@ synth-pop:
nu \1:
- nu[ -]*(disco|jazz|metal|soul)
# Old School spellings: old-skool-jungle/-hardcore, oldschool hip-hop
# Old School spellings: old-school death metal, oldschool hip-hop, old-skool-jungle/-hardcore
old school death metal:
- old[ -]*(?:school|skool)[ -]+death[ -]*metal
old school hip hop:
- old[ -]*(?:school|skool)[ -]+hip[ -]*hop
old school \1:

View File

@@ -676,6 +676,7 @@
- death/doom
- goregrind
- melodic death metal
- old school death metal
- technical death metal
- doom metal:
- epic doom metal

View File

@@ -1095,9 +1095,10 @@ nyatiti
néo kýma
obscuro
oi!
old school death metal
old school hardcore
old school hip hop
old school jungle
old school hardcore
old-time
oldies
olonkho

View File

@@ -1094,6 +1094,9 @@ class TestAliases:
("psy rock", "psychedelic rock"),
("psych-pop", "psychedelic pop"),
("disney", "disney"),
("old-school death-metal", "old school death metal"),
("old-skool-hip-hop", "old school hip hop"),
("old school-jungle", "old school jungle"),
],
)
def test_default_alias_patterns(self, config, input_genre, expected_genre):