-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
PICARD-2141: AcousticBrainz Mood-Genre: Save existing genres before overwriting #296
base: 2.0
Are you sure you want to change the base?
Conversation
Save existing genre metadata (i.e. MB genres if "Use genres from MusicBrainz" is enabled) so that scripts can put it back or merge genre values.
I kind of feel that's the wrong way to go. At least we would need to add this to other plugins as well, ideally without breaking things. Also it does not do what one would expect if you have more than one genre plugin enabled (which causes mostly random behavior anyway, another problem). But if you e.g. also enable the last.fm plugin you might end up with What about a different approach to solve the issue, that one wants the mood, but not the genre: Add a config page for AcousticBrainz Mood-Genre to enable using mood and/or genre? For solving the issue of being able to access the MB genres independent of any other genre plugin I'd say we could add a The actual full solution would be to have the ability to have multiple genre plugins that can collect genres, but a single set of settings that handles the final list. E.g. this could also combine genres from multiple sources. There was a short discussion about this at https://community.metabrainz.org/t/acousticbrainz-mood-genre-plugin/404057/7. I thought we also had a ticket, but can't find any right now. |
@phw Philipp - I agree with you that genres needs an overhaul (see PICARD-2054). As and when Picard has the supporting functionality, then plugins like this and lastFm can hook into that. But right now, I want AcousticBrainz Mood and don't want AcousticBrainz Genre and this is the easiest backwards-compatible solution. However see also PICARD-2145 - if that is implemented, perhaps with |
Ah yes, PICARD-2054 was the ticket :) I don't see much that speaks against adding the genre variables for artist, album and track as you suggested. That's probably even better than a single |
Hmm ... should we use singular "genre" or plural "genres"? I am in favour of having three variables holding the genre data specific to artist, release and track and also an overall variable holding the original Picard metadata value of the tag "genre" (which depending on options selected will be some form of combination of the first three). |
I'd be for "genres" in those tags, as they are supposed to hold multiple. And yes, |
On reflection, I think that genre plugins should always add genres to any existing list rather than replace them. |
See also lastFm+ v2 PR. |
Save existing genre metadata (i.e. MB genres if "Use genres from MusicBrainz" is enabled) so that scripts can put it back or merge genre values.