Author: titmuss
Date: Fri Feb 1 13:53:43 2008
New Revision: 1742
URL: http://svn.slimdevices.com?rev=1742&root=Jive&view=rev
Log:
Bug: 6764
Description:
When no player is selected force a reconnect to all servers when the network
interface state changes. This is needed to allow connection to
SqueezeNetwork following a factory reset.
Modified:
branches/7.0/jive/src/pkg/jive/share/jive/slim/SlimServers.lua
Modified: branches/7.0/jive/src/pkg/jive/share/jive/slim/SlimServers.lua
URL:
http://svn.slimdevices.com/branches/7.0/jive/src/pkg/jive/share/jive/slim/SlimServers.lua?rev=1742&root=Jive&r1=1741&r2=1742&view=diff
==============================================================================
--- branches/7.0/jive/src/pkg/jive/share/jive/slim/SlimServers.lua (original)
+++ branches/7.0/jive/src/pkg/jive/share/jive/slim/SlimServers.lua Fri Feb 1
13:53:43 2008
@@ -473,6 +473,11 @@
function notify_networkConnected(self)
log:info("network connected")
self:discover()
+
+ -- force reconnection to all servers if we don't have a player
+ if not self.currentPlayer then
+ self:connect()
+ end
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins