Author: bklaas
Date: Wed Nov 19 11:35:31 2008
New Revision: 3408
URL: http://svn.slimdevices.com?rev=3408&root=Jive&view=rev
Log:
Bug: 10068
Description: make sure we have a player before calling player:isLocal()
Modified:
7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
Modified:
7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
URL:
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua?rev=3408&root=Jive&r1=3407&r2=3408&view=diff
==============================================================================
---
7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
(original)
+++
7.3/trunk/squeezeplay/src/squeezeplay_jive/share/applets/SqueezeboxJive/SqueezeboxJiveApplet.lua
Wed Nov 19 11:35:31 2008
@@ -263,7 +263,7 @@
function notify_playerCurrent(self, player)
-- track changes to the remote player selection for headphone jack
- if not player:isLocal() then
+ if player and not player:isLocal() then
self.remotePlayer = player
end
@@ -375,7 +375,7 @@
if appletManager:hasService("iteratePlayers") then
for _, player in
appletManager:callService("iteratePlayers") do
- if player:isLocal() then
+ if player and player:isLocal() then
localPlayer = player
break
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins