mvordeme;434926 Wrote: > I am really sorry if I am annoying you. I don't mean to. And I'm sorry that I became annoyed. I think I finally do understand your point, though. My problem is that I always think of SrvrPowerCtrl as working in a headless, dedicated SqueezeCenter server context. But what you're saying is that, once SrvrPowerCtrl makes the hibernation request of LightsOut, LO may or may not honor that request, depending on what else is happening on the server. It's in that "not honoring" time period that, if you start playing music again, you'd like to see the IdleWatchdog wakeup and start barking again...even though the system hasn't been to sleep. Have I got that right?
Anyway, I've implemented this by combining the methods we talked about before: at the expiration of the idle timer, the idle watchdog will be disabled, a "play" monitor will be enabled, and the "idle-time expired" action will be executed exactly once. After that, SrvrPowerCtrl will do nothing and issue no more system commands until one of two things happens: it senses that the system has resumed from sleep OR it "hears" a play request. At that point, the IdleWatchdog gets re-enabled and starts barking again. That should work for you, shouldn't it? Anyway, thank you for being patient with me and taking the time to explain exactly what it was that you needed. I should have a new snapshot version posted by Friday. -- gharris999 ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
