Author: bklaas
Date: Tue Nov 18 12:33:09 2008
New Revision: 3399
URL: http://svn.slimdevices.com?rev=3399&root=Jive&view=rev
Log:
Bug: 10058
Descripton: getCurrentPlayer if self.player not already set in goNowPlaying
method
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
URL:
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua?rev=3399&root=Jive&r1=3398&r2=3399&view=diff
==============================================================================
---
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
(original)
+++
7.3/trunk/squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
Tue Nov 18 12:33:09 2008
@@ -622,6 +622,10 @@
-- can be found by the Screensaver applet correctly,
-- while allowing the method to be called via the service API
function goNowPlaying(self, style, transition)
+
+ if not self.player then
+ self.player = appletManager:callService("getCurrentPlayer")
+ end
if self.player then
self:openScreensaver(style, transition)
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins