mrw;593566 Wrote: 
> 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.
Very interesting.  I'll be looking more closely at this in the days to
come.

One question: in sbplayer_inactive, you are using /usr/bin/expect as
the shell.  Is expect a normal part of OSX, or are you using an
installed port of expect?

Could nc be used rather than expect and telnet to make this a little
more lightweight?


-- 
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

Reply via email to