Author: bklaas
Date: Fri Jun 18 08:23:07 2010
New Revision: 8882

URL: http://svn.slimdevices.com/jive?rev=8882&view=rev
Log:
Bug: 16303
Description: never send out nil object in playerCurrent notifications

Modified:
    
7.5/branches/7.5.1-controller-fix/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua

Modified: 
7.5/branches/7.5.1-controller-fix/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua
URL: 
http://svn.slimdevices.com/jive/7.5/branches/7.5.1-controller-fix/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua?rev=8882&r1=8881&r2=8882&view=diff
==============================================================================
--- 
7.5/branches/7.5.1-controller-fix/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua
 (original)
+++ 
7.5/branches/7.5.1-controller-fix/squeezeplay/src/squeezeplay/share/jive/slim/Player.lua
 Fri Jun 18 08:23:07 2010
@@ -179,7 +179,9 @@
        end
 
        -- notify even if the player has not changed
-       jnt:notify("playerCurrent", currentPlayer)
+       if currentPlayer then
+               jnt:notify("playerCurrent", currentPlayer)
+       end
 end
 
 

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins

Reply via email to