I have been seeing this behaviour with some regularity on my system. I
think I have found the problem: the file header is being truncated at
the beginning by one byte.

I added an image file using EasyTAG (Version 2.1.2, Ubuntu Gutsy, with
libid3tag 0.15.1 (beta)).  The image is read and displayed properly in
Rhythmbox (version 0.11.2), but with SqueezeCenter (version info below)
the cover.jpg presented has the first byte truncated.  Instead of
beginning "FFD8FFE0" it begins "D8FFE0" and nothing recognizes it as a
JPEG file -- not Gnome, not eog, not Gimp, and obviously not Firefox or
my remote.  If I take that image file and prepend "FF" and save it, the
image displays correctly everywhere.

So obviously there's an off-by-one error somewhere in the image
extraction code.  It is apparently manifesting itself somewhat
irregularly. I have (many) MP3 files for which SqueezeCenter manifests
this behaviour regularly, if a member of the Slim Devices team wants a
test case -- I can't attach it b/c it is too large.  I have attached a
zip file with the broken and corrected image (I couldn't include the
broken image itself, because this forum rejects it as an invalid image,
as it should).

SqueezeCenter Version: 7.0 - 17793 - Debian - EN - iso-8859-1
Server IP address: 192.168.1.103
Perl Version: 5.8.8 i486-linux-gnu-thread-multi
MySQL Version: 5.0.45-Debian_1ubuntu3.3
Platform Architecture: i686-linux

Thanks
Chuck


+-------------------------------------------------------------------+
|Filename: cover-image-bug.zip                                      |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=4701|
+-------------------------------------------------------------------+

-- 
celeduc
------------------------------------------------------------------------
celeduc's Profile: http://forums.slimdevices.com/member.php?userid=16410
View this thread: http://forums.slimdevices.com/showthread.php?t=38279

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to