Author: richard
Date: Fri Apr 3 14:29:59 2009
New Revision: 5149
URL: http://svn.slimdevices.com/jive?rev=5149&view=rev
Log:
Bug: N/A
Description:
Correctly update the player state when moving from SC -> SN. Without this
change the Controller was getting lost, and you need to go to
Choose Player to find your player again.
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua
Modified: 7.3/trunk/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua
URL:
http://svn.slimdevices.com/jive/7.3/trunk/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua?rev=5149&r1=5148&r2=5149&view=diff
==============================================================================
--- 7.3/trunk/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua (original)
+++ 7.3/trunk/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua Fri Apr 3
14:29:59 2009
@@ -528,6 +528,8 @@
self.jnt:notify('playerDelete', self)
if self == currentPlayer then
+ self.jnt:notify('playerDisconnected', self)
+
-- dont' delete state if this is the current player
return
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins