fetchart: Check if album art file actually exists

Fixes #1126.
This commit is contained in:
reiv 2015-10-31 20:07:13 +01:00 committed by Adrian Sampson
parent c617033476
commit 269d0e5403

View file

@ -567,7 +567,7 @@ class FetchArtPlugin(plugins.BeetsPlugin, RequestMixin):
fetchart CLI command.
"""
for album in albums:
if album.artpath and not force:
if album.artpath and not force and os.path.isfile(album.artpath):
message = ui.colorize('text_highlight_minor', 'has album art')
else:
# In ordinary invocations, look for images on the