mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
Accept lyrics source as a string
This commit is contained in:
parent
61a4c737ee
commit
e9afe069bc
2 changed files with 4 additions and 1 deletions
|
|
@ -958,7 +958,7 @@ class LyricsPlugin(RequestHandler, plugins.BeetsPlugin):
|
|||
|
||||
@cached_property
|
||||
def backends(self) -> list[Backend]:
|
||||
user_sources = self.config["sources"].get()
|
||||
user_sources = self.config["sources"].as_str_seq()
|
||||
|
||||
chosen = sanitize_choices(user_sources, self.BACKEND_BY_NAME)
|
||||
if "google" in chosen and not self.config["google_API_key"].get():
|
||||
|
|
|
|||
|
|
@ -30,6 +30,9 @@ Bug fixes:
|
|||
features for all remaining tracks in the session, avoiding unnecessary API
|
||||
calls and rate limit exhaustion.
|
||||
|
||||
- :doc:`plugins/lyrics`: Accepts strings (used to only accept list of strings)
|
||||
:bug:`5962`
|
||||
|
||||
For plugin developers:
|
||||
|
||||
- A new plugin event, ``album_matched``, is sent when an album that is being
|
||||
|
|
|
|||
Loading…
Reference in a new issue