Skip to content

Commit fda3147

Browse files
committed
Update lyrics.sources configuration to prioritize lrclib
1 parent fdebdfa commit fda3147

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

beetsplug/lyrics.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ def fetch(self, artist, title, album=None, length=None):
834834

835835

836836
class LyricsPlugin(plugins.BeetsPlugin):
837-
SOURCES = ["google", "musixmatch", "genius", "tekstowo", "lrclib"]
837+
SOURCES = ["lrclib", "google", "musixmatch", "genius", "tekstowo"]
838838
SOURCE_BACKENDS = {
839839
"google": Google,
840840
"musixmatch": MusiXmatch,

docs/changelog.rst

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Bug fixes:
3232
* :doc:`plugins/lyrics`: Fix fetching lyrics from ``lrclib`` source. Instead of
3333
attempting to fetch lyrics for a specific album, artist, title and duration
3434
combination, the plugin now performs a search which yields many results.
35+
Update the default ``sources`` configuration to prioritize ``lrclib`` over
36+
other sources since it returns reliable results quicker than others.
3537
:bug:`5102`
3638

3739
For packagers:

docs/plugins/lyrics.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ configuration file. The available options are:
5656
sources known to be scrapeable.
5757
- **sources**: List of sources to search for lyrics. An asterisk ``*`` expands
5858
to all available sources.
59-
Default: ``google genius tekstowo lrclib``, i.e., all the available sources. The
59+
Default: ``lrclib google genius tekstowo``, i.e., all the available sources. The
6060
``google`` source will be automatically deactivated if no ``google_API_key``
6161
is setup.
6262
The ``google``, ``genius``, and ``tekstowo`` sources will only be enabled if

0 commit comments

Comments
 (0)