-
Notifications
You must be signed in to change notification settings - Fork 1.9k
lastgenre: Some whitelist and genres-tree updates #5977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment has been minimized.
This comment has been minimized.
ae9daba to
d63d056
Compare
|
By the way I did some research via the last.fm API to see what the global top 100 genres are. We mostly had them already and now they are completed with this PR: FYI I'm not considering tags that are not actual music genres. I had myself sort them out via Claude Sonnet 4 and this is the summary - in my opinion there is useful information in them but I'm not sure how to incorporate them into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Updates the lastgenre plugin's genre classification system with fixes and additions for better music genre categorization. This addresses issues mentioned in #5915 and includes curated improvements to the genre whitelist and hierarchical structure.
- Fixed genre naming inconsistencies (hyphen vs space formatting)
- Added new genre categories and subcategories across various music styles
- Reorganized genre hierarchy structure for better classification
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| beetsplug/lastgenre/genres.txt | Fixed hyphenation inconsistency for "industrial hip hop" |
| beetsplug/lastgenre/genres-tree.yaml | Added multiple new genres and reorganized hierarchy structure |
Comments suppressed due to low confidence (1)
beetsplug/lastgenre/genres-tree.yaml:1
- [nitpick] The removal of 'country-rap' genre appears inconsistent with the overall pattern of adding genres in this PR. Consider whether this removal is intentional or if it should be relocated to maintain the genre coverage.
- african:
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
What we also see here that having a feature that aliases / _normalises genres is critical. Just look at how much is tagged as hip-hop and hip hop - not even last.fm is aware of that 2 genres for the same exist - even their wiki pages for those two are different texts! So the genre aliases feature mentioned here should prioritized in my opinion to make lastgenre actually useful and less errorprone: #5915 (comment) |
That is ridiculous. I agree that aliases are very important, as long as it's clear how they interact with the tree. |
818c8d4 to
a5962eb
Compare
|
Sorry, I didn't realize I was tagged as a reviewer. It looks good so far but let me know when you want to merge and I'll take a final look! |
snejus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just need to move uk hardcore back under hardcore, I think. Could you also add a note in the changelog by any chance?
that is intentional: i see uk hardcore (92 style) as the predecessor of jungle uk hardcore has sonically more to do with jungle than it has with any hardcore/gabber styles |
last.fm agrees: ... breakbeat driven.....early uk rave days....breaks breaks breaks: https://www.last.fm/tag/uk+hardcore then around 93 I guess somebody called it Jungle, because the 4x4 kicks got less, actually not really sure why. There is some other legend about it....keep that for another time ;-) Early Jungle often had a Happy Hardcore vibe to it too, and that also is listed as a related genre. Or is UK Hardcore even a sub-genre of Oldschool Jungle? Would that make more sense? But yeah at the end of the day - it's complicated and will never be correct. It just bothered me that dozens of oldschool breakbeat tracks were curated as Hardcore, even though they sound pretty much Oldschool Jungle and I will mix them together with them in a DJ set, so... I'm not sure if the term UK Hardcore is nowadays used as a general description for any Hardcore music coming from the UK - at least the last.fm wiki page seems to point to that additionally to describing what it sounds like https://www.last.fm/tag/uk+hardcore Was researching a little more for other opinions and found this awesome mix haha: https://soundcloud.com/realrifts/uk-hardcore-jungle-oldskool-hitmix, an also this person calls that old happy vibes breakbeat style "UK Hardcore" |
|
I moved |
|
I asked Perplexity a couple of questions about this and did some research myself: https://www.perplexity.ai/search/describe-uk-hardcore-genre-and-55zV3KuPQVSVMXXGLmKMgA
I listen to both genres a lot, and I just can't place them in the same bucket... I guess darker UK hardcore from the early 90s does sound close to early jungle, but that's the only similarity I could hear. Personally, I think the main difference is complexity: uk hardcore is simple, while jungle evolved to be more complex. Also, UK hardcore came before jungle, so nesting under jungle seems to be a bit wrong. |
I changed it back already. Just works for me, but not even that always. I'd play 93 jungle together with uk hc but not 94/95 jungle so.., yeah not always 😅 Only thing I don't agree with is that history is of importance for canonicalization. If it were, DnB and subgenres would have to be below Jungle too. That also seems wrong. I think it's about what's the broader term for whatever reason it evolved to be. Popularity, more well known, more widely used name and so on. But can you please ask your magic machine if breakbeat hardcore is a subgenre of hardcore or rather breakbeat? From what last.fm wiki page tells https://www.last.fm/tag/breakbeat+hardcore/wiki and from my feeling it's more similar to uk hardcore / oldschool rave than to what I think of classic or nu breaks/breakbeat |
|
Thanks! See https://music.ishkur.com/ |
Thanks but doesn't have. Breakbeat Hardcore. Your magic machine? |
https://www.perplexity.ai/search/6cbc2c46-f190-49b1-9029-7372e372faf3 magic machine says we should move it below HC. Will do... |
0e63f9f to
1a3de86
Compare
A final look is in order @emiham. I rebased a little and commit-by-commit review including some reasons why is an option. Also I realized that it's critical with the current state of the plugin that accents with eg. spanish is important. if we write After all it is a neverending story, and again I came across dozens of genres that are actually synonyms. I did not try to put in all the variations into our tree and list and still be in favor of hopefully soonish start with getting my aliases feature ready for a PR. To really use the power of last.fm, we just need something like it. Thanks in advance! |
Fixes to the beets default tree and whitlist files I collected over the years; Includes Tags last.fm returns quite often; Also the chart.getTopTags API endpoint was checked to make sure the top 100 charts are included in beets default tree and whitelist.
that came up in the pull request comments and other discussions.
Also changes decided during PR discussions and more research.
experimental, even though a tag last.fm very often returns (in top 20 tag charts!), it is too broad of a term to be pinned downed with any particular genre, thus can't really be used for canonicalization.
3d8c486 to
d24a851
Compare
snejus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me!
Change of plans since we'd like to release today, I just merged it. Anyway thanks @emiham if you find anything or have additions we can address that in the future. |
Description
Addresses some fixes and additions mentioned here #5915 and some I collected myself over the years.
Of course genres and sub-genres classifications always are rather opinionated, but I consider them useful for others too. Critical feedback is welcome.
To Do
docs/changelog.rstto the bottom of one of the lists near the top of the document.)Summary by Sourcery
Enhance the lastgenre plugin’s genre whitelist by adding new genres and refining the hierarchy.
Enhancements: