Author: bklaas
Date: Sun Jan 20 13:14:25 2008
New Revision: 1527
URL: http://svn.slimdevices.com?rev=1527&root=Jive&view=rev
Log:
Bug: 6679
Description: Render appropriate generic artwork for tracks that are remote
Needs SC 16499
Modified:
trunk/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua
Modified:
trunk/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL:
http://svn.slimdevices.com/trunk/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=1527&root=Jive&r1=1526&r2=1527&view=diff
==============================================================================
--- trunk/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua
(original)
+++ trunk/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua Sun
Jan 20 13:14:25 2008
@@ -404,6 +404,7 @@
local function _artworkItem(item, group, menuAccel)
local icon = group and group:getWidget("icon")
+ debug.dump(item, 2)
if item["icon-id"] then
if menuAccel and not
_server:artworkThumbCached(item["icon-id"], 56) then
-- Don't load artwork while accelerated
@@ -428,12 +429,7 @@
_server:fetchArtworkThumb(item["icon"],
icon, _staticArtworkThumbUri, 56)
end
end
-
- -- FIXME-- Bug 6653, this was added to support having the radio icon in
playlists,
- -- but it screws up the UI in many other spots
- -- this is for the radio image-- remote URLs with no icon (Bug 6087)
---[[
- elseif item["params"] and item["params"]["track_id"] then
+ elseif item["trackType"] == 'radio' and item["params"] and
item["params"]["track_id"] then
if menuAccel and not
_server:artworkThumbCached(item["params"]["track_id"], 56) then
-- Don't load artwork while accelerated
_server:cancelArtwork(icon)
@@ -441,7 +437,6 @@
-- workaround: this needs to be png not gd because in
gd it looks like garbage
_server:fetchArtworkThumb(item["params"]["track_id"],
icon, _artworkThumbUri, 56, 'png')
end
---]]
else
_server:cancelArtwork(icon)
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins