mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 00:24:25 +01:00
Apply suggestions from code review
Co-authored-by: Šarūnas Nejus <snejus@protonmail.com>
This commit is contained in:
parent
9e7d5debdc
commit
d7636fb0c3
2 changed files with 5 additions and 5 deletions
|
|
@ -373,7 +373,7 @@ def _merge_pseudo_and_actual_album(
|
|||
class MusicBrainzPlugin(MetadataSourcePlugin):
|
||||
@cached_property
|
||||
def genres_field(self) -> str:
|
||||
return f"{config['musicbrainz']['genres_tag'].get()}-list"
|
||||
return f"{self.config['genres_tag'].as_choice(['genre', 'tag'])}-list"
|
||||
|
||||
def __init__(self):
|
||||
"""Set up the python-musicbrainz-ngs module according to settings
|
||||
|
|
|
|||
|
|
@ -137,11 +137,11 @@ Default
|
|||
``beatport_album_id``, ``deezer_album_id``, ``tidal_album_id``). On re-imports
|
||||
existing data will be overwritten.
|
||||
|
||||
.. conf:: _genres_tag
|
||||
:default: genres
|
||||
.. conf:: genres_tag
|
||||
:default: genre
|
||||
|
||||
Either ``genres`` or ``tags``. Specify ``genres`` to use just musicbrainz genres and
|
||||
``tags`` to use all user-supplied musicbrainz tags.
|
||||
Either ``genre`` or ``tag``. Specify ``genre`` to use just musicbrainz genre and
|
||||
``tag`` to use all user-supplied musicbrainz tags.
|
||||
|
||||
.. include:: ./shared_metadata_source_config.rst
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue