PDA

View Full Version : Embedded artwork with type application/octet-stream



Xhorder
2008-01-19, 09:01
Mandriva 2008
SC 7.0

It seems that most of my embedded artwork files are somehow showing up as "application/octet-stream" and therefore not being displayed.

For some reason, a few are "image/jpeg" and those are displayed properly.

How or where is this "type" being set for embedded artwork? And is there a way I can fix it?

Here is some logging output:

IMAGE NOT DISPLAYED:

[08-01-19 10:45:48.1400] Slim::Music::Artwork::_readCoverArtTags (238) Found image of length [39626] bytes with type: [application/octet-stream]
[08-01-19 10:45:48.1497] Slim::Web::Graphics::processCoverArtRequest (205) The variable $actualContentType, which attempts to understand what image type the original file is, is set to application/octet-stream
[08-01-19 10:45:48.1502] Slim::Web::Graphics::processCoverArtRequest (231) got cover art image application/octet-stream of 39626 bytes
[08-01-19 10:45:48.1509] Slim::Web::Graphics::processCoverArtRequest (438) Can't use GD for application/octet-stream (music/4509/cover_132x132_p.png)

IMAGE DISPLAYED CORRECTLY:

[08-01-19 10:49:22.7882] Slim::Music::Artwork::_readCoverArtTags (238) Found image of length [109112] bytes with type: [image/jpeg]
[08-01-19 10:49:22.8001] Slim::Web::Graphics::processCoverArtRequest (205) The variable $actualContentType, which attempts to understand what image type the original file is, is set to image/jpeg
[08-01-19 10:49:22.8008] Slim::Web::Graphics::processCoverArtRequest (231) got cover art image image/jpeg of 109112 bytes
[08-01-19 10:49:22.8012] Slim::Web::Graphics::processCoverArtRequest (432) No need to process image for music/10545/cover.jpg