I find the end of the log file relevant and not spilled.
Good catch :-)
I might be wrong but to me this looks like the server returns the "empty
CD case" image _before_ it tries to extract the correct artwork from the
tags of the audio file.
Yes, it does so, because it doesn't find that cover ID in the database.
This could happen if you were sending an outdated ID (stale cache
somehow?) as part of the URL.
The code would take the requested URL and extract type and ID using a
regex. This would result in type=music and ID=11963404. This ID would be
used for an SQL query:
SELECT url, cover FROM tracks WHERE coverid = 11963404;
If one of the posters who's facing this problem could run the following
test: set artwork debugging to enabled as you just did. Wait for iPeng
to cause lines similar to these:
Slim::Web::Graphics::artworkRequest (80) Artwork request:
music/11963404/cover
Slim::Web::Graphics::artworkRequest (120) Resize specification:
Slim::Web::Graphics::artworkRequest (275) No cover found, translated
to html/images/cover.png
Once the latter happens, fire up the web UI, hover over the artwork
cover (which hopefully shows correctly). Wouldn't you get the large
cover file? If you do, try to right click it and "Open image in new
tab". Compare its URL with the above. Would the ID be the same?
This may be the reason why this works for cached
thumbnails but not the unaltered image iPeng requests. Am I right to
assume that the unaltered images are not stored in the database?
Full size images aren't pre-cached. But we do look up the path in the
track's database anyway. If we fail to find that path, then obviously we
can't read the image file (or data from the music file).
BTW: the large hovering artwork in the web UI is using the same kind of
URL (music/12345678/cover). If that one works, but iPeng doesn't get a
picture, then most likely there's a problem with the ID sent by iPeng.
I think I've never seen this happen myself.
---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox
and
Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
at penguinlovesmusic.com
*New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch*
------------------------------------------------------------------------
pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=104496
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta
--
Michael
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta