Hi!
On 21/04/15 14:56, Joost de Bonth wrote:
> - Is it possible to customise the genre information? Specifically what I
> am trying to do is to keep the genre hierarchy information as described
> in
https://rateyourmusic.com/rgenre/. For example, instead of just 'Dark
> Ambient' I would like to have 'Ambient/Dark Ambient', or instead of
> 'Minimal Techno' I would like to have 'Electronic/Dance/Techno/Minimal'.
> Perhaps this could be done via a series of if-then statements which
> would be a perfect workable solution for me. Where would I need to set
> these up (within the __init__.py or genres-tree.yaml)?
The default plugin configuration already sets all the ancestor genres,
but doesn't repeat genres.
If I understand it correctly, you would want to have it repeated in the
genres, right? For instance, if an album would have the genres "Black
Ambient" and "Dark Jazz", you would want to have it tagged with
"Ambient/Dark Ambient/Dark Jazz, Ambient/Dark Ambient/Black Ambient". Is
that correct?
I see one issue with that, because, even though the file is called
'genres-tree', it is not actually a tree, since a given node can have
more than one parent. See "Ambient Dub" for example, which is a child of
both "Ambient" and "Electronic".
If you would somehow circumvent this issue, I think you can either
modify the 'genres-tree.yaml' for each individual genre to have the full
list of ancestors, using "depth: none" in the plugin configuration, or
modify the `_get_genres` method in '__init__.py' to build the genre
definition that way.
> - Is it possible to automatically run rymgenre from within beets during
> the music import process and have the rymgenre tags override those
> acquired by beets? I understand that in the current implementation you
> need to first import music and then as a second step, run rymgenre. It
> would be nice to get a group of newly acquired albums batch tagged in
> one go.
Currently no. The top result of
rateyourmusic.com is often not the one
you want, so I decided to always force manual confirmation. This is not
compatible with beets auto tagging when timid mode is disabled.
Therefore, I decided to keep it separated.
> Thanks again!
Thank you for using it, and reminding me that I should've opened a pull
request with this to beets core a long time ago!
Joao