Merge pull request #1163 from mluds/embedart-windows-fix

embedart: Windows fix
This commit is contained in:
Adrian Sampson 2014-12-22 09:34:37 -05:00
commit a7959cfc00

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