Author: titmuss
Date: Thu Oct 30 06:22:31 2008
New Revision: 3239

URL: http://svn.slimdevices.com?rev=3239&root=Jive&view=rev
Log:
Bug: N/A
Description:
Don't timeout the LocalPlayer object, even when it's not connected. This should 
fix the bug that requires squeezeplay/controller to 
be restarted after enabling audio playback.


Modified:
    7.3/trunk/squeezeplay/src/squeezeplay/share/jive/slim/LocalPlayer.lua

Modified: 7.3/trunk/squeezeplay/src/squeezeplay/share/jive/slim/LocalPlayer.lua
URL: 
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/share/jive/slim/LocalPlayer.lua?rev=3239&root=Jive&r1=3238&r2=3239&view=diff
==============================================================================
--- 7.3/trunk/squeezeplay/src/squeezeplay/share/jive/slim/LocalPlayer.lua 
(original)
+++ 7.3/trunk/squeezeplay/src/squeezeplay/share/jive/slim/LocalPlayer.lua Thu 
Oct 30 06:22:31 2008
@@ -8,6 +8,7 @@
 
 local oo             = require("loop.simple")
 
+local Framework      = require("jive.ui.Framework")
 local Player         = require("jive.slim.Player")
 
 local SlimProto      = require("jive.net.SlimProto")
@@ -110,6 +111,12 @@
 end
 
 
+function getLastSeen(self)
+       -- never timeout a local player
+       return Framework:getTicks()
+end
+
+
 function __tostring(self)
        return "LocalPlayer {" .. self:getName() .. "}"
 end

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

Reply via email to