Author: titmuss
Date: Wed Feb  6 02:03:11 2008
New Revision: 1828

URL: http://svn.slimdevices.com?rev=1828&root=Jive&view=rev
Log:
Bug: 6976
Description:
Revert change r1773 as this is needed when SqueezeNetwork is selected for Ray 
during 
setup with the MP firmware.


Modified:
    
branches/7.0/jive/src/pkg/jive/share/applets/SqueezeNetworkPIN/SqueezeNetworkPINMeta.lua

Modified: 
branches/7.0/jive/src/pkg/jive/share/applets/SqueezeNetworkPIN/SqueezeNetworkPINMeta.lua
URL: 
http://svn.slimdevices.com/branches/7.0/jive/src/pkg/jive/share/applets/SqueezeNetworkPIN/SqueezeNetworkPINMeta.lua?rev=1828&root=Jive&r1=1827&r2=1828&view=diff
==============================================================================
--- 
branches/7.0/jive/src/pkg/jive/share/applets/SqueezeNetworkPIN/SqueezeNetworkPINMeta.lua
 (original)
+++ 
branches/7.0/jive/src/pkg/jive/share/applets/SqueezeNetworkPIN/SqueezeNetworkPINMeta.lua
 Wed Feb  6 02:03:11 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

Reply via email to