[Solved] Fetchart not downloading for existing albums

I’m trying to use fetchart to download missing cover art for some of my albums, but I get nothing. When I import, it works without issues, but running beet fetchart -f 'artist:foo' 'album:bar', I get nothing. here’s an example with verbosity:

# beet -vv fetchart -f 'artist:entombed' 'album:path'
user configuration: /zet/Users/foo/.config/beets/config.yaml
data directory: /zet/Users/foo/.config/beets
plugin paths:
Sending event: pluginload
inline: adding item field mygenre
library database: /zet/Muzica/database.db
library directory: /zet/Muzica
Sending event: library_opened
Sending event: cli_exit

# ls -l /zet/Muzica/Metal/Entombed/1994\ -\ Left\ Hand\ Path\ \[MP3\]/
total 67525
-rw-r--r-- 1 foo users 9595349 Sep  5  2019 '01 - Left Hand Path.mp3'
-rw-r--r-- 1 foo users 5819855 Sep  5  2019 '02 - Drowned.mp3'
-rw-r--r-- 1 foo users 5379411 Sep  5  2019 '03 - Revel in Flesh.mp3'
-rw-r--r-- 1 foo users 6044827 Sep  5  2019 '04 - When Life Has Ceased.mp3'
-rw-r--r-- 1 foo users 2984997 Sep  5  2019 '05 - Supposed to Rot.mp3'
-rw-r--r-- 1 foo users 4332324 Sep  5  2019 '06 - But Life Goes On.mp3'
-rw-r--r-- 1 foo users 6323030 Sep  5  2019 '07 - Bitter Loss.mp3'
-rw-r--r-- 1 foo users 7825152 Sep  5  2019 '08 - Morbid Devourment.mp3'
-rw-r--r-- 1 foo users 4310404 Sep  5  2019 '09 - Abnormally Deceased.mp3'
-rw-r--r-- 1 foo users 4954598 Sep  5  2019 '10 - The Truth Beyond.mp3'
-rw-r--r-- 1 foo users 4296616 Sep  5  2019 '11 - Carnal Leftovers.mp3'
-rw-r--r-- 1 foo users 6393847 Sep  5  2019 '12 - Premature Autopsy.mp3'

Hello! First things first: can you check whether that query actually matches any music?

beet ls -a 'artist:entombed' 'album:path'

If not, you may want to fiddle with your query and examine your music with beet ls to make sure you’re selecting the right album. Or make sure that the music is actually imported in the first place. The documentation page on queries might be useful here.

I’ve already posted some time ago this: Beet ls -a doesn't show albums. I don’t see any of my albums as albums, even though I remember that I could at some moment.

Also, I imported two new albums today and fetchart worked for those.

You will want to use albumartist, not artist. See also:

That was it! Thanks a lot!

1 Like