docs/plugins: Centralize documentation of source_weight option

This commit is contained in:
Alexander Miller 2019-10-01 21:16:57 +02:00
parent c4ad4c69cb
commit 279dd314ae
4 changed files with 10 additions and 16 deletions

View file

@ -36,6 +36,11 @@ also search for an id like so:
beet import path/to/music/library --search-id id beet import path/to/music/library --search-id id
Configuration
-------------
This plugin can be configured like other metadata source plugins as described in :ref:`metadata-source-plugin-configuration`.
.. _requests: https://docs.python-requests.org/en/latest/ .. _requests: https://docs.python-requests.org/en/latest/
.. _requests_oauthlib: https://github.com/requests/requests-oauthlib .. _requests_oauthlib: https://github.com/requests/requests-oauthlib
.. _Beatport: https://beetport.com .. _Beatport: https://beetport.com

View file

@ -22,13 +22,4 @@ prompt during import::
Configuration Configuration
------------- -------------
Put these options in config.yaml under the ``deezer:`` section: This plugin can be configured like other metadata source plugins as described in :ref:`metadata-source-plugin-configuration`.
- **source_weight**: Penalty applied to Deezer matches during import. Set to
0.0 to disable.
Default: ``0.5``.
Here's an example::
deezer:
source_weight: 0.7

View file

@ -46,9 +46,7 @@ token`` button, and place the generated token in your configuration, as the
Configuration Configuration
------------- -------------
- **source_weight**: Penalty applied to Discogs matches during import. Set to This plugin can be configured like other metadata source plugins as described in :ref:`metadata-source-plugin-configuration`.
0.0 to disable.
Default: ``0.5``.
Troubleshooting Troubleshooting
--------------- ---------------

View file

@ -52,6 +52,9 @@ prompt during import::
Configuration Configuration
------------- -------------
This plugin can be configured like other metadata source plugins as described in :ref:`metadata-source-plugin-configuration`. In addition, the following
configuration options are provided.
The default options should work as-is, but there are some options you can put The default options should work as-is, but there are some options you can put
in config.yaml under the ``spotify:`` section: in config.yaml under the ``spotify:`` section:
@ -79,9 +82,6 @@ in config.yaml under the ``spotify:`` section:
track/album/artist fields before sending them to Spotify. Can be useful for track/album/artist fields before sending them to Spotify. Can be useful for
changing certain abbreviations, like ft. -> feat. See the examples below. changing certain abbreviations, like ft. -> feat. See the examples below.
Default: None. Default: None.
- **source_weight**: Penalty applied to Spotify matches during import. Set to
0.0 to disable.
Default: ``0.5``.
Here's an example:: Here's an example::