epoch1970;481176 Wrote: > I don't know this platform, but can you send signals to the squeezebox > server process ? > > kill -STOP <pid> should freeze the server, and kill -CONT <pid> to > resume it.
Hi, the platform is basically a linux. So yes kill -STOP/-CONT can freeze and resume the server. Thanks for the hint, I must admit that I hadn't thought about this possibility. But even if the kill command would have the advantage of having no delay at all, there would be a technical problem to solve: it would be easy to freeze the server by using the command "kill -STOP pid" with the SrvrPowerControl plugin, but how could you detect a client activity to resume it? With kill, even if the process is sleeping the port 3483 is still bound to it, preventing any other process to listen to the same port. Any idea how client activity can be detected with any other method, or how to temporary unbound slimserver from the port 3483 during it sleeps, so that the wake up process can listen to it? Yannick -- yannick ------------------------------------------------------------------------ yannick's Profile: http://forums.slimdevices.com/member.php?userid=19770 View this thread: http://forums.slimdevices.com/showthread.php?t=70856 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
