Hi all. I’m brand new to Beets, so forgive me if I’m overlooking something obvious.
Beets is successfully retrieving and printing lyrics from the command line. My understanding is that it should save them to the files’ tags. I assume that would mean the lyrics would show up when I pull them up through MediaMonkey, but that’s not happening.
Am I missing a step, or does “embedding lyrics into files’ metadata” mean something other than what I figured?
Interesting. This suggests that the lyrics are in the database but not in the tags. I would think that the lyrics don’t get embedded because you don’t have import.write on, but you do, so I have no answer. Maybe try force-fetching them.
So beet write worked and embeded the lyrics, but I’m hoping to avoid that option, as I’m trying to grab lyrics and genres for several thousand files without altering any of the other metadata. (It’s not possible to beet write one tag and skip the others, is it?)
Here’s what I get with the verbose log:
C:\>beet -vv lyrics sturgill retrograde
user configuration: C:\Users\bdb484\AppData\Roaming\beets\config.yaml
data directory: C:\Users\bdb484\AppData\Roaming\beets
plugin paths: C:\Users\bdb484\beets\myplugins
Sending event: pluginload
lyrics: Disabling google source: no API key configured.
library database: C:\Users\bdb484\AppData\Roaming\beets\library.db
library directory: C:\Dropbox\MediaMonkey Library\Music
Sending event: library_opened
lyrics: lyrics already present: Sturgill Simpson - Sound & Fury - Mercury In Retrograde
Sending event: cli_exit
Here’s how the plugin’s logic works. For every track, it sees if there are already lyrics. If so, it stops immediately—unless you have the plugin in -f (force) mode. Otherwise, it fetches lyrics and (if import.write is enabled) writes the resulting tags to the files. So the fact that the track already has lyrics is preventing it from (a) fetching new lyrics and (b) more relevantly, writing the tags to the file.
I don’t think I was ever set to write: no but it’s definitely possible.
I ran lyrics again in force mode, and that moved everything into the tags as expected.
But the lyrics still didn’t show up in MediaMonkey at first. I thought that playing or editing the file in MMW would cause the updates to appear in that database, but they didn’t. For anyone else who runs into that problem, the solution was to add/rescan the updated files. Once I did that, everything worked like a charm.
Hey @bdb484, seems like I got the same problem, lyrics are fetched and written correctly but they don’t appear when I open the file in Windows Media Player for testing. However if I open the file in MP3tag I can see the lyrics were embedded. And if I use MP3Tag to save the tags without changing any of them, it fixes the issue.
When you say you had to “add/rescan” to get it to work, you mean in MediaMonkey ? Or is there an operation to do that in a batch with beet (that’s what I’m looking for) ?