Search again locally in album folder when running beet fetchart without -f

This commit is contained in:
Bruno Tournay 2014-01-27 22:02:29 +01:00
parent 0458d16e71
commit 0466df6215

View file

@ -212,7 +212,8 @@ def batch_fetch_art(lib, albums, force, maxwidth=None):
if album.artpath and not force:
message = 'has album art'
else:
path = art_for_album(album, None, maxwidth)
lookuppath = None if force else [album.path]
path = art_for_album(album, lookuppath, maxwidth)
if path:
album.set_art(path, False)