danco;592984 Wrote: 
> Please give us the script.
> 
> You say it works "pretty well". Does that mean it has minor glitches,
> or what?

Herewith the script. File named "sbplayers_inactive" in folder
"Squeezebox_DenySleep" within the attached archive.
I appear to have liberally commented it.

I use this as the meat behind a background monitoring task on my PC,
installed as a system start up item.
All included, together with newly drafted README containing
installation instructions.
I stepped through the instructions, and they did work. A small amount
of text editing required.

In summary:

OSX_DenySystemSleep provides a system task to monitor the status of
players connected to a Squeezebox server running on a Mac OSX system.
It prevents OSX from putting the system to sleep if a player is
playing, or simply paused.

It has been operating continuously on an OSX 10.4/10.5 PPC system for
the last couple of years or so, without problems.

Requires SleepWatcher to be installed in /user/local/sbin
Available from http://www.bernhard-baehr.de/

Offered up in the hope that it might be useful to some, and/or provide
a starting point for a more polished implementation.


+-------------------------------------------------------------------+
|Filename: OSX_DenySystemSleep.zip                                  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=10951|
+-------------------------------------------------------------------+

-- 
mrw
------------------------------------------------------------------------
mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

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

Reply via email to