user configuration: /home/foo/.config/beets/config.yaml
data directory: /home/foo/.config/beets
plugin paths:
lyrics: Disabling google source: no API key configured.
Sending event: pluginload
library database: /home/foo/.beets/musiclibrary.db
library directory: /mnt/crates/library
Sending event: library_opened
Parsed query: AndQuery([AnyFieldQuery('confuser', ('artist', 'title', 'comments', 'album', 'albumartist', 'genre'), SubstringQuery)])
Parsed sort: NullSort()
Traceback (most recent call last):
File "/usr/bin/beet", line 8, in <module>
sys.exit(main())
~~~~^^
File "/usr/share/beets/beets/ui/__init__.py", line 1870, in main
_raw_main(args)
~~~~~~~~~^^^^^^
File "/usr/share/beets/beets/ui/__init__.py", line 1849, in _raw_main
subcommand.func(lib, suboptions, subargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/beets/beetsplug/lyrics.py", line 880, in func
self.fetch_item_lyrics(
~~~~~~~~~~~~~~~~~~~~~~^
lib,
^^^^
...<2 lines>...
opts.force_refetch or self.config["force"],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/share/beets/beetsplug/lyrics.py", line 992, in fetch_item_lyrics
self.get_lyrics(artist, title, album=album, length=length)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/beets/beetsplug/lyrics.py", line 1028, in get_lyrics
lyrics = backend.fetch(artist, title, album=album, length=length)
File "/usr/share/beets/beetsplug/lyrics.py", line 380, in fetch
for hit in json["response"]["hits"]:
~~~~^^^^^^^^^^^^
KeyError: 'response'
Problem
Running this command in verbose (
-vv) mode:Led to this problem:
Here's a link to the music files that trigger the bug (if relevant):
Searching for anything that did not previously have lyrics already will cause this problem/
Setup
My configuration (output of
beet config) is: