Beets: Get genres from MusicBrainz

Created on 16 Oct 2018  路  4Comments  路  Source: beetbox/beets

Problem

Next release of MusicBrainz will have genre support. An example can be seen at https://beta.musicbrainz.org/release-group/3bd76d40-7f0e-36b7-9348-91a33afee20e (JSON web service output: https://beta.musicbrainz.org/ws/2/release-group/3bd76d40-7f0e-36b7-9348-91a33afee20e?fmt=json&inc=genres )

beets should fetch these and allow MusicBrainz to be used as "genre authority".

feature

Most helpful comment

Whoa! That's so cool! Somehow I had missed the buzz about this update. We should certainly support it!!

All 4 comments

Whoa! That's so cool! Somehow I had missed the buzz about this update. We should certainly support it!!

Looks like a PR will be needed on musicbrianzngs, as it currently doesn't support genre as a field (it's not in the whitelist), and it doesn't try to do any parsing either.

It should be relatively simple to add as genres are laid out just like tags, so it's a pretty simple case of adding it to the right dicitonaries and using parse_tags.

I鈥檝e been using fdemmer鈥檚 last.fm.ng plugin with MusicBrainz Picard for ever and a while. I wonder if something like this could be implemented instead? (It derives genres, moods, etc. from _last.fm_.)

MusicBrainz genres will surely take a while to gain momentum, since almost nobody currently tags genres in MusicBrainz.

I'd love to see this feature, implemented similar to how Picard does it. With Picard it will only use the genres I've tagged with, and will fall back to the album artist's genre if I didn't tag a release or release group with one.

It looks like there's a partially completed PR for musicbrainzngs that adds the support: https://github.com/alastair/python-musicbrainzngs/pull/243.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

foways picture foways  路  5Comments

myfreeweb picture myfreeweb  路  4Comments

bammerlaan picture bammerlaan  路  4Comments

lhupitr picture lhupitr  路  5Comments

cgtobi picture cgtobi  路  3Comments