Bugzilla – Bug 14328
Need useful error messages when artwork fails
Last modified: 2010-02-17 09:52:58 UTC
Some of my cover art isn't showing up. The scanner log has entries of the form: [09-09-26 14:59:00.1542] Slim::Music::Import::runScanPostProcessing (433) Starting artwork scan [09-09-26 14:59:05.4242] Slim::Web::Graphics::processCoverArtRequest (262) Error: Unable to resize music/28064/cover_100x100_o: Can't resize unknown type, magic: "\0\0\rIHDR\0" [09-09-26 14:59:05.5246] Slim::Web::Graphics::processCoverArtRequest (262) Error: Unable to resize music/28064/cover_50x50_o: Can't resize unknown type, magic: "\0\0\rIHDR\0" [09-09-26 14:59:05.5336] Slim::Web::Graphics::processCoverArtRequest (262) Error: Unable to resize music/28064/cover_40x40_m: Can't resize unknown type, magic: "\0\0\rIHDR\0" ... which are useless. (AFAIK, all my artwork are jpg files.) Every scanner error should log a file name and a coherent reason for the failure.
It also might help prevent confusion if file names and paths emitted in the log are always correctly utf8 encoded...either that or emit the value directly from the url field in the track table without translation. As it is, when I look at logs, I don't know if I'm seeing the problem, or seeing a mis-translation of the problem.
This error now includes the filename.