Author: titmuss
Date: Wed Feb 6 02:03:46 2008
New Revision: 1829
URL: http://svn.slimdevices.com?rev=1829&root=Jive&view=rev
Log:
[EMAIL PROTECTED] (orig r1828): titmuss | 2008-02-06 10:03:11 +0000
Bug: 6976
Description:
Revert change r1773 as this is needed when SqueezeNetwork is selected for Ray
during
setup with the MP firmware.
Modified:
trunk/ (props changed)
trunk/jive/src/pkg/jive/share/applets/SqueezeNetworkPIN/SqueezeNetworkPINMeta.lua
Propchange: trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Wed Feb 6 02:03:46 2008
@@ -1,3 +1,3 @@
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1823
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1828
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378
Modified:
trunk/jive/src/pkg/jive/share/applets/SqueezeNetworkPIN/SqueezeNetworkPINMeta.lua
URL:
http://svn.slimdevices.com/trunk/jive/src/pkg/jive/share/applets/SqueezeNetworkPIN/SqueezeNetworkPINMeta.lua?rev=1829&root=Jive&r1=1828&r2=1829&view=diff
==============================================================================
---
trunk/jive/src/pkg/jive/share/applets/SqueezeNetworkPIN/SqueezeNetworkPINMeta.lua
(original)
+++
trunk/jive/src/pkg/jive/share/applets/SqueezeNetworkPIN/SqueezeNetworkPINMeta.lua
Wed Feb 6 02:03:46 2008
@@ -17,7 +17,22 @@
end
function registerApplet(meta)
- -- do nothing
+ -- check for SN PIN when we connect to a new player
+ -- this is needed after upgrading from the MP firmware if
+ -- SqueezeNetwork was selected during Ray setup
+ local monitor = {
+ notify_playerCurrent =
+ function(self, player)
+
+ if player and player:getPin() then
+ log:debug("SqueezeNetworkPIN: player
has a PIN")
+ local applet =
appletManager:loadApplet("SqueezeNetworkPIN")
+ applet:forcePin(player)
+ end
+ end
+ }
+
+ jnt:subscribe(monitor)
end
--[[
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins