Skip to content
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

Lastgenre finds classifies children music as metal #5649

Open
guerda opened this issue Feb 26, 2025 · 2 comments
Open

Lastgenre finds classifies children music as metal #5649

guerda opened this issue Feb 26, 2025 · 2 comments

Comments

@guerda
Copy link

guerda commented Feb 26, 2025

Problem

The lastgenre plugin identifies multiple children music albums as metal (Melodic Death Metal and Grindcore).

$ beet lastgenre Kinderlieder
lastgenre: genre for album Various Artists - Best of Kinderlieder, Volume 02 (artist): Grindcore
lastgenre: genre for album Various Artists - Die 50 schönsten Kinderlieder (artist): Melodic Death Metal

Both album had no tags:
https://www.last.fm/music/Various+Artists/Best+of+Kinderlieder,+Volume+02
https://www.last.fm/music/Various+Artists/Die+50+sch%C3%B6nsten+Kinderlieder

and still they are classified as metal subgenres, which is amittedly funny, but not correct at all.
Adding a tag to one of the albums didn't solve the problem.

Running this command in verbose (-vv) mode:

$ beet -vv
$ beet -vv
user configuration: /home/pi/.config/beets/config.yaml
data directory: /home/pi/.config/beets
plugin paths:
lastgenre: Loading canonicalization tree /home/pi/.local/pipx/venvs/beets/lib/python3.11/site-packages/beetsplug/lastgenre/genres-tree.yaml
fetchart: google: Disabling art source due to missing key
fetchart: lastfm: Disabling art source due to missing key
Sending event: pluginload
library database: /home/pi/.beets/musiclibrary.db
library directory: /media/music
Sending event: library_opened
Usage:
...

Setup

  • OS: Raspberry Pi OS, Debian 12.9
  • Python version: 3.11.2
  • beets version: 2.2.0
  • Turning off plugins made problem go away (yes/no): no
@jackwilsdon
Copy link
Member

jackwilsdon commented Feb 27, 2025

Can you provide the output of beet -vvv lastgenre Kinderlieder?

@guerda
Copy link
Author

guerda commented Feb 27, 2025

user configuration: /home/pi/.config/beets/config.yaml
data directory: /home/pi/.config/beets
plugin paths: 
lastgenre: Loading canonicalization tree /home/pi/.local/pipx/venvs/beets/lib/python3.11/site-packages/beetsplug/lastgenre/genres-tree.yaml
fetchart: google: Disabling art source due to missing key
fetchart: lastfm: Disabling art source due to missing key
Sending event: pluginload
library database: /home/pi/.beets/musiclibrary.db
library directory: /media/music
Sending event: library_opened
Parsed query: AndQuery([AnyFieldQuery('Kinderlieder', ('album', 'albumartist', 'genre'), SubstringQuery)])
Parsed sort: NullSort()
lastgenre: last.fm error: Album not found
lastgenre: genre for album Oliver Mager - Die erfolgreichsten Kinderlieder Vol. 1 (artist): Schlager
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
lastgenre: genre for album Various Artists - Best of Kinderlieder, Volume 02 (artist): Grindcore
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
lastgenre: genre for album Various Artists - Die 50 schönsten Kinderlieder (artist): Melodic Death Metal
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: write
Sending event: after_write
Sending event: write
Sending event: after_write
Sending event: write
Sending event: after_write
Sending event: write
Sending event: after_write
Sending event: write
Sending event: after_write
Sending event: write
Sending event: after_write
Sending event: write


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants