mherger wrote:
> > Now what's next: what can I do to figure out what is causing jpeg
> files
> to fail in Raspbian?
JiveLite on Raspbian is failing to resize the artwork. If I disable the
upscaling in SlimServer.lua -> _loadArtworkImage(), then I do get the
image, though only small if the full resolution wasn't available.
As a better solution/workaround I've changed SlimServer.lua to always
request png instead of jpg:
Code:
--------------------
diff --git a/share/jive/jive/slim/SlimServer.lua
b/share/jive/jive/slim/SlimServer.lua
index dcce91e..ad0b23d 100644
--- a/share/jive/jive/slim/SlimServer.lua
+++ b/share/jive/jive/slim/SlimServer.lua
@@ -1149,7 +1149,7 @@ function fetchArtwork(self, iconId, icon, size,
imgFormat)
-- fetch image direct (previously used SN image resizer, rely on improved
resizing in jivelite)
url = iconId
else
- url = string.gsub(iconId, "(.+)(%.%a+)", "%1" ..
resizeFrag .. "%2")
+ url = string.gsub(iconId, "(.+)(%.%a+)", "%1" ..
resizeFrag .. ".png")
if not string.find(url, "^/") then
-- Bug 7123, Add a leading slash if needed
--------------------
Now I'm getting all artwork again. Woot!
Michael
http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR,
Smart Mix
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=98156
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix