Author: titmuss
Date: Sun Feb 24 09:11:47 2008
New Revision: 2012
URL: http://svn.slimdevices.com?rev=2012&root=Jive&view=rev
Log:
Bug: 7296
Description:
Fix jive sending player register to SN all the time, not just when the pin
screen is
used.
Modified:
branches/7.0/jive/src/pkg/jive/share/applets/SetupSqueezebox/SetupSqueezeboxApplet.lua
Modified:
branches/7.0/jive/src/pkg/jive/share/applets/SetupSqueezebox/SetupSqueezeboxApplet.lua
URL:
http://svn.slimdevices.com/branches/7.0/jive/src/pkg/jive/share/applets/SetupSqueezebox/SetupSqueezeboxApplet.lua?rev=2012&root=Jive&r1=2011&r2=2012&view=diff
==============================================================================
---
branches/7.0/jive/src/pkg/jive/share/applets/SetupSqueezebox/SetupSqueezeboxApplet.lua
(original)
+++
branches/7.0/jive/src/pkg/jive/share/applets/SetupSqueezebox/SetupSqueezeboxApplet.lua
Sun Feb 24 09:11:47 2008
@@ -1225,13 +1225,19 @@
-- if connecting to SqueezeNetwork, first check jive is linked
- if slimserver:getPin() then
- local snpin = appletManager:loadApplet("SqueezeNetworkPIN")
- snpin:enterPin(slimserver, nil,
- function()
- self:_registerPlayer(slimserver)
- end)
-
+ if slimserver:isSqueezeNetwork() then
+ if slimserver:getPin() then
+ local snpin =
appletManager:loadApplet("SqueezeNetworkPIN")
+ snpin:enterPin(slimserver, nil,
+ function()
+ self:_registerPlayer(slimserver)
+ end)
+
+ return
+ else
+ self:_registerPlayer(slimserver)
+ end
+
return
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins