Running Logitech Media Server Version: 7.9.1 - 1518758400 @ Fri Feb 16 06:51:40 UTC 2018, on a linux host.
As I add new folders and do a scan (look for new and changed media files) I find that from time to time one of the files added shows a broken image icon in the New Music section after the scan. Here's what's in the server log (I set both of the "artwork" settings in logging to debug): [20-03-28 14:04:43.9147] Slim::Web::Graphics::artworkRequest (375) Resizing: /media/music/music/Stray Cats, The/Built for Speed/01 - Rock This Town.mp3 using spec 150x150_o [20-03-28 14:04:43.9164] Slim::Utils::Misc::msg (1250) Warning: [14:04:43.9158] Reading tags from audio file... [20-03-28 14:04:43.9188] Slim::Utils::Misc::msg (1250) Warning: [14:04:43.9181] Loading image from /media/music/music/Stray Cats, The/Built for Speed/01 - Rock This Town.mp3 [20-03-28 14:04:43.9207] Slim::Utils::Misc::msg (1250) Warning: [14:04:43.9200] Resizing from 599x601 jpg @ 646 to 150xX jpg [20-03-28 14:04:43.9704] Slim::Utils::Misc::msg (1250) Warning: [14:04:43.9696] Image::Scale libjpeg error: Corrupt JPEG data: premature end of data segment (/media/music/music/Stray Cats, The/Built for Speed/01 - Rock This Town.mp3) [20-03-28 14:04:43.9716] Slim::Utils::Misc::msg (1250) Warning: [14:04:43.9711] Image::Scale libjpeg error: Unsupported marker type 0xfb (/media/music/music/Stray Cats, The/Built for Speed/01 - Rock This Town.mp3) [20-03-28 14:04:43.9726] Slim::Utils::ImageResizer::sync_resize (141) Error resizing /media/music/music/Stray Cats, The/Built for Speed/01 - Rock This Town.mp3: Image::Scale cannot write JPEG with no output data [20-03-28 14:04:43.9735] Slim::Music::Artwork::_imageContentType (374) Error: Can't discover content type for undefined data. [20-03-28 14:04:43.9745] Slim::Music::Artwork::_imageContentType (374) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Music/Artwork.pm line 374) frame 1: Slim::Music::Artwork::_imageContentType (/usr/share/perl5/Slim/Web/Graphics.pm line 380) frame 2: Slim::Web::Graphics::__ANON__ (/usr/share/perl5/Slim/Web/Graphics.pm line 441) frame 3: Slim::Web::Graphics::__ANON__ (/usr/share/perl5/Slim/Utils/ImageResizer.pm line 144) frame 4: Slim::Utils::ImageResizer::sync_resize (/usr/share/perl5/Slim/Utils/ImageResizer.pm line 115) frame 5: Slim::Utils::ImageResizer::resize (/usr/share/perl5/Slim/Web/Graphics.pm line 442) frame 6: Slim::Web::Graphics::artworkRequest (/usr/share/perl5/Slim/Web/HTTP.pm line 1181) frame 7: Slim::Web::HTTP::generateHTTPResponse (/usr/share/perl5/Slim/Web/HTTP.pm line 884) frame 8: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 688) frame 9: Slim::Web::HTTP::processHTTP (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123) frame 10: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119) frame 11: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168) frame 12: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168) frame 13: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 727) frame 14: main::idle (/usr/sbin/squeezeboxserver line 677) frame 15: main::main (/usr/sbin/squeezeboxserver line 1213) [20-03-28 14:04:43.9752] Slim::Web::Graphics::__ANON__ (401) Resize failed, returning 500 [20-03-28 14:04:43.9757] Slim::Web::Graphics::__ANON__ (403) Artwork resize for music/6802a7d0/cover_150x150_o failed [20-03-28 14:10:21.3525] Slim::Web::Graphics::artworkRequest (80) Artwork request: music/0/cover_96x96_p [20-03-28 14:10:21.3544] Slim::Web::Graphics::artworkRequest (120) Resize specification: 96x96_p [20-03-28 14:10:21.3556] Slim::Web::Graphics::artworkRequest (286) No cover found, translated to html/images/cover_96x96_p.png [20-03-28 14:10:21.3577] Slim::Web::Graphics::_cached (65) from cache: png (4267 bytes for html/images/cover_96x96_p.png) --- If I go to the artwork page for that album (http:/servername:9000/music/6802a7d0/cover) I can see a valid jpg, 599x601, named cover.jpg. I have cover.jpg as the standard in the same directory as the file - so maybe the issue is with the embedded artwork rather than the standalone file? Checking the mp3 file I see no corruption, nor any in the image. Any ideas how to fix this? ------------------------------------------------------------------------ jeckman's Profile: http://forums.slimdevices.com/member.php?userid=12106 View this thread: http://forums.slimdevices.com/showthread.php?t=111887 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
