mirror of
https://github.com/beetbox/beets.git
synced 2025-12-07 00:53:08 +01:00
Update lyrics.sources configuration to prioritize lrclib
This commit is contained in:
parent
a398fbe62d
commit
30379bca38
3 changed files with 4 additions and 2 deletions
|
|
@ -783,7 +783,7 @@ class Google(Backend):
|
||||||
|
|
||||||
|
|
||||||
class LyricsPlugin(plugins.BeetsPlugin):
|
class LyricsPlugin(plugins.BeetsPlugin):
|
||||||
SOURCES = ["google", "musixmatch", "genius", "tekstowo", "lrclib"]
|
SOURCES = ["lrclib", "google", "musixmatch", "genius", "tekstowo"]
|
||||||
SOURCE_BACKENDS = {
|
SOURCE_BACKENDS = {
|
||||||
"google": Google,
|
"google": Google,
|
||||||
"musixmatch": MusiXmatch,
|
"musixmatch": MusiXmatch,
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,8 @@ Bug fixes:
|
||||||
* :doc:`plugins/lyrics`: Fix fetching lyrics from ``lrclib`` source. Instead of
|
* :doc:`plugins/lyrics`: Fix fetching lyrics from ``lrclib`` source. Instead of
|
||||||
attempting to fetch lyrics for a specific album, artist, title and duration
|
attempting to fetch lyrics for a specific album, artist, title and duration
|
||||||
combination, the plugin now performs a search which yields many results.
|
combination, the plugin now performs a search which yields many results.
|
||||||
|
Update the default ``sources`` configuration to prioritize ``lrclib`` over
|
||||||
|
other sources since it returns reliable results quicker than others.
|
||||||
:bug:`5102`
|
:bug:`5102`
|
||||||
|
|
||||||
For packagers:
|
For packagers:
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ configuration file. The available options are:
|
||||||
sources known to be scrapeable.
|
sources known to be scrapeable.
|
||||||
- **sources**: List of sources to search for lyrics. An asterisk ``*`` expands
|
- **sources**: List of sources to search for lyrics. An asterisk ``*`` expands
|
||||||
to all available sources.
|
to all available sources.
|
||||||
Default: ``google genius tekstowo lrclib``, i.e., all the available sources. The
|
Default: ``lrclib google genius tekstowo``, i.e., all the available sources. The
|
||||||
``google`` source will be automatically deactivated if no ``google_API_key``
|
``google`` source will be automatically deactivated if no ``google_API_key``
|
||||||
is setup.
|
is setup.
|
||||||
The ``google``, ``genius``, and ``tekstowo`` sources will only be enabled if
|
The ``google``, ``genius``, and ``tekstowo`` sources will only be enabled if
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue