embedart: Added syspath call to art exists check

This commit is contained in:
Michael Ludwig 2014-12-21 13:08:02 -05:00
parent 016c901e6f
commit c76f8bee46

View file

@ -150,7 +150,7 @@ def embed_album(album, maxwidth=None, quiet=False):
log.info(u'No album art present: {0} - {1}'.
format(album.albumartist, album.album))
return
if not os.path.isfile(imagepath):
if not os.path.isfile(syspath(imagepath)):
log.error(u'Album art not found at {0}'
.format(displayable_path(imagepath)))
return