I was thinking of a more recent feature of srvPowerControl which is a
status flag (inactive/idle/active) raised by the plugin. That was
designed to communicate with external power management solutions
(lightsOut ?).
You could ask gharris999 for more details and advice.

Otherwise, you can whip up a bit of code that queries the server
(and/or the players through the CLI). I think srvPowerControl does that
and more and better than you would do it.

(I have coded my own PM daemon. An ugly beast of several hundreds lines
of perl code, to  manage diverse protocols/apps incl. SB players. You
really don't want to do that unless you're very bored.)


-- 
epoch1970
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=72608

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to