Skip to content

Commit 81f1072

Browse files
Merge branch 'master' into edit-custom-config
2 parents 86a7497 + 7cca07d commit 81f1072

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

beetsplug/lyrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ class LyricsPlugin(RequestHandler, plugins.BeetsPlugin):
958958

959959
@cached_property
960960
def backends(self) -> list[Backend]:
961-
user_sources = self.config["sources"].get()
961+
user_sources = self.config["sources"].as_str_seq()
962962

963963
chosen = sanitize_choices(user_sources, self.BACKEND_BY_NAME)
964964
if "google" in chosen and not self.config["google_API_key"].get():

docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Bug fixes:
3131
calls and rate limit exhaustion.
3232
- Running `beet --config <mypath> config -e` now edits `<mypath>` rather than
3333
the default config path. :bug:`5652`
34+
- :doc:`plugins/lyrics`: Accepts strings for lyrics sources (previously only
35+
accepted a list of strings). :bug:`5962`
3436

3537
For plugin developers:
3638

0 commit comments

Comments
 (0)