beets
beets copied to clipboard
beets can't fetch lyrics from lrclib.net
I want to fetch synced lyrics from lrclib but beet can't find them even if i can find them manually on lrclib. Here's my config:
plugins: fromfilename lastgenre lyrics
lyrics:
sources: lrclib
synced: yes
Can you please fill out a bit more of the bug report template? It helps us work out what's going on. Specifically:
- Verbose command output (with
-vv) - beets version
- Output of
beet config
The full template can be found here: https://github.com/beetbox/beets/blob/master/.github/ISSUE_TEMPLATE/bug-report.md?plain=1
Not OP, but here is my info:
name: "\U0001F41B Bug report" about: Lyrics not found when using lrclib
Problem
Running this command in verbose (-vv) mode:
$ beet -vv lyrics -f Metallica Load
user configuration: /home/user/.config/beets/config.yaml data directory: /home/user/.config/beets plugin paths: inline: adding item field multidisc inline: adding item field lmultidisc Sending event: pluginload library database: /home/user/.config/beets/library.db library directory: /home/user/Music Sending event: library_opened lyrics: lyrics not found: Metallica - Load - 01. Ain’t My Bitch (5:04) lyrics: lyrics not found: Metallica - Load - 02. 2 × 4 (5:28) lyrics: lyrics not found: Metallica - Load - 03. The House Jack Built (6:38) lyrics: lyrics not found: Metallica - Load - 04. Until It Sleeps (4:29) lyrics: lyrics not found: Metallica - Load - 05. King Nothing (5:28) lyrics: lyrics not found: Metallica - Load - 06. Hero of the Day (4:21) lyrics: lyrics not found: Metallica - Load - 07. Bleeding Me (8:18) lyrics: lyrics not found: Metallica - Load - 08. Cure (4:54) lyrics: lyrics not found: Metallica - Load - 09. Poor Twisted Me (4:00) lyrics: lyrics not found: Metallica - Load - 10. Wasting My Hate (3:57) lyrics: lyrics not found: Metallica - Load - 11. Mama Said (5:19) lyrics: lyrics not found: Metallica - Load - 12. Thorn Within (5:51) lyrics: lyrics not found: Metallica - Load - 13. Ronnie (5:17) lyrics: lyrics not found: Metallica - Load - 14. The Outlaw Torn (9:48) lyrics: lyrics not found: Metallica - Reload - 01. Fuel (4:29) lyrics: lyrics not found: Metallica - Reload - 02. The Memory Remains (4:39) lyrics: lyrics not found: Metallica - Reload - 03. Devil’s Dance (5:18) lyrics: lyrics not found: Metallica - Reload - 04. The Unforgiven II (6:36) lyrics: lyrics not found: Metallica - Reload - 05. Better Than You (5:21) lyrics: lyrics not found: Metallica - Reload - 06. Slither (5:13) lyrics: lyrics not found: Metallica - Reload - 07. Carpe Diem Baby (6:12) lyrics: lyrics not found: Metallica - Reload - 08. Bad Seed (4:05) lyrics: lyrics not found: Metallica - Reload - 09. Where the Wild Things Are (6:54) lyrics: lyrics not found: Metallica - Reload - 10. Prince Charming (6:05) lyrics: lyrics not found: Metallica - Reload - 11. Low Man’s Lyric (7:37) lyrics: lyrics not found: Metallica - Reload - 12. Attitude (5:16) lyrics: lyrics not found: Metallica - Reload - 13. Fixxxer (8:14) Sending event: cli_exit
Led to this problem:
Modified config to use lrclib with synced lyrics
Setup
- OS: debian trixie
- Python version: 3.11.8
- beets version: 1.6.0
- Turning off plugins made problem go away (yes/no): No
My configuration (output of beet config) is:
lyrics:
bing_lang_from: []
auto: yes
sources: lrclib
synced: yes
bing_client_secret: REDACTED
bing_lang_to:
google_API_key: REDACTED
google_engine_ID: REDACTED
genius_api_key: REDACTED
fallback:
force: no
local: no
plugins:
- chroma
- fromfilename
- acousticbrainz
- embedart
- fetchart
- lastgenre
- lyrics
- mbsync
- metasync
- replaygain
- bucket
- inline
- the
- badfiles
- duplicates
- info
- mbcollection
- mbsubmit
- missing
- random
- types
- alternatives
asciify_paths: yes
format_item: $artist - $album - $track. $title ($length)
format_album: $albumartist - $album
sort_item: albumartist+ album+ disc+ track+
per_disc_numbering: yes
terminal_encoding: utf8
clutter:
- Thumbs.DB
- .DS_Store
- '*.m3u'
- .pls
- '*.jpg'
max_filename_length: 64
id3v23: yes
import:
write: yes
copy: yes
move: no
link: no
hardlink: no
resume: ask
quiet: no
log: ~/tmp/beetslog
detail: yes
musicbrainz:
user: gderber
pass: REDACTED
match:
strong_rec_thresh: 0.08
max_rec:
missing_tracks: low
unmatched_tracks: medium
track_length: strong
preferred:
countries:
- US
- XW
- CA
- XE
- GB|UK
- AU
- DE
media: [CD, Digital Media|File]
paths:
singleton: '%ifdef{sort,$sort,Unsorted}/%ifdef{album_holiday,$album_holiday}%ifdef{soundtrack_type,$soundtrack_type}/%the{%asciify{$albumartist}}/Non-Album/%the{%asciify{$title}}'
comp: '%ifdef{sort,$sort,Unsorted}/%ifdef{album_holiday,$album_holiday}%ifdef{soundtrack_type,$soundtrack_type}/%the{%asciify{$albumartist}}/%the{%asciify{$album}}/%if{$multidisc,%if{$lmultidisc,$disc,%right{$disc,1}}}$track - %asciify{$title}'
default: '%ifdef{sort,$sort,Unsorted}/%ifdef{album_holiday,$album_holiday}%ifdef{soundtrack_type,$soundtrack_type}/%the{%asciify{$albumartist}}/%ifdef{series,%the{$series}}/%ifdef{series_no,$series_no - }%the{%asciify{$album}}/%if{$multidisc,%if{$lmultidisc,$disc,%right{$disc,1}}}$track - %asciify{$title}'
chroma:
auto: yes
acousticbrainz:
auto: yes
force: no
tags: []
edit:
itemfields: track title artist album
albumfields: album albumartist
embedart:
auto: yes
compare_threshold: 0
ifempty: yes
maxwidth: 0
remove_art_file: no
quality: 0
fetchart:
auto: yes
cautious: yes
cover_names: cover front art album folder
minwidth: 480
maxwidth: 0
quality: 0
max_filesize: 0
enforce_ratio: no
sources:
- filesystem
- coverart
- itunes
- amazon
- albumart
google_key: REDACTED
google_engine: 001442825323518660753:hrh5ch1gjzm
fanarttv_key: REDACTED
lastfm_key: REDACTED
store_source: no
high_resolution: no
deinterlace: no
cover_format:
ftintitle:
auto: no
format: feat. {0}
keyfinder:
auto: no
lastgenre:
auto: yes
fallback: ''
source: album
whitelist: ~/.config/beets/genres.txt
min_weight: 10
count: 1
canonical: no
force: yes
separator: ', '
prefer_specific: no
title_case: yes
metasync:
source: amarok
replaygain:
backend: gstreamer
overwrite: yes
targetlevel: 89
auto: yes
threads: 8
parallel_on_import: no
per_disc: no
peak: 'true'
r128: [Opus]
r128_targetlevel: 84
bucket:
bucket_year: [1980-89]
extrapolate: yes
bucket_alpha: []
bucket_alpha_regex: {}
item_fields:
multidisc: 1 if disctotal > 1 else 0
lmultidisc: 1 if disctotal > 9 else 0
the:
a: yes
the: yes
patterns: []
strip: no
format: '{0}, {1}'
thumbnails:
force: yes
badfiles:
commands:
ogg: myoggchecker --opt1 --opt2
flac: flac --test --warnings-as-errors --silent
duplicates:
album: no
checksum: ''
copy: ''
count: no
delete: no
format: ''
full: no
keys: []
merge: no
move: ''
path: no
tiebreak: {}
strict: no
tag: ''
mbcollection:
auto: no
collection: ''
remove: no
mbsubmit:
threshold: medium
format: $track. $title - $artist ($length)
missing:
format: $albumartist - $album - $track - $title
count: no
total: no
album: no
types:
rating: int
playcount: int
Not really sure if that helps or not.
https://lrclib.net/search/Metallica%20Hero%20of%20the%20Day for example exists.
I also have this issue.
beets version 1.6.0
Python version 3.11.2
plugins: convert, embedart, fetchart, ftintitle, lastgenre, lyrics, mpdupdate, random, replaygain, smartplaylist