From 608aed575fbb3442c94caff89af38b4214ba9845 Mon Sep 17 00:00:00 2001 From: reiv Date: Sat, 31 Oct 2015 20:07:13 +0100 Subject: [PATCH] fetchart: Check if album art file actually exists Fixes #1126. --- beetsplug/fetchart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/fetchart.py b/beetsplug/fetchart.py index b807891e09..5ab07ce965 100644 --- a/beetsplug/fetchart.py +++ b/beetsplug/fetchart.py @@ -567,7 +567,7 @@ def batch_fetch_art(self, lib, albums, force): 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