mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Update data_source_penalty docs
This commit is contained in:
parent
e6084cd3ee
commit
203c2176d9
1 changed files with 15 additions and 9 deletions
|
|
@ -47,21 +47,27 @@ some, you can use ``pip``'s "extras" feature to install the dependencies:
|
||||||
Using Metadata Source Plugins
|
Using Metadata Source Plugins
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
Some plugins provide sources for metadata in addition to MusicBrainz. These
|
We provide several :ref:`autotagger_extensions` that fetch metadata from online
|
||||||
plugins share the following configuration option:
|
databases. They share the following configuration options:
|
||||||
|
|
||||||
- **data_source_mismatch_penalty**: Penalty applied to matches during import.
|
- **data_source_mismatch_penalty**: Penalty applied to matches during import.
|
||||||
Set to 0.0 to disable. Default: ``0.0``.
|
Default: ``0.0`` (no penalty).
|
||||||
|
|
||||||
For example, to equally consider matches from Discogs and MusicBrainz add the
|
Penalize this data source to prioritize others. For example, to prefer Discogs
|
||||||
following to your configuration:
|
over MusicBrainz:
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
plugins: musicbrainz discogs
|
plugins: musicbrainz discogs
|
||||||
|
|
||||||
discogs:
|
musicbrainz:
|
||||||
data_source_mismatch_penalty: 0.0
|
data_source_mismatch_penalty: 2.0
|
||||||
|
|
||||||
|
By default, all sources are equally preferred with each having
|
||||||
|
``data_source_mismatch_penalty`` set to ``0.0``.
|
||||||
|
|
||||||
|
- **search_limit**: Maximum number of search results to consider. Default:
|
||||||
|
``5``.
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:hidden:
|
:hidden:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue