Closed eldosrado closed 8 years ago
Hey Eduard,
Thanks for your report and investigation! I'd be happy to accept a pull request that sets shell=True
to if sys.platform.startswith('win')
. But before that happens we need to find out if and how to sanetize the input, because I don't know if it would be possible to call an image e.g. &format c: &.jpg
...
Thanks again, tom.
Hi Eduard!
I did not want to change the behavior in windows because I was afraid that it would open up security issues. So instead I just added support for Pillow/PIL the most common python imaging library. Please check our the devel
branch, install pillow and tell me how it goes!
Cherrymusic don't convert images to thumbnails using convert.
albumArtFetcher.programAvailable()
andalbumArtFetcher.AlbumArtFetcher.resize()
use subprocess.Popen to start ImageMagick's convert in oder to resize images to thumbnails. Popen fails to find ImageMagick's convert and instead uses win\system32\convert.exe which seems to be a bug in python. Resizing fails silently without any exeception or logging. User's don't know what happend.Steps to reproduce
Fix worked for me: add
shell=True
to Popen paramssubprocess.Popen(..., shell=True )
I don't know if this workaround works on *unix or macOn Windows 7 x64 Python 3.5 x68 ImageMagick 6.9.2-4 Q16 x64 2015-10-10