My Slimdevices Slimserver runs on a old power hungry Pentium III 800 MHz
which I prefer not to left running when I’m not using it. Shutting the
thing down was either a trip into the garage, or a terminal server
remote login via another networked computer (hopefully still running)
to log it off!

I have thus written a plugin to avoid this messing about. I know there
are similar plugins about based on running batch files, or automated
from inactivity timeouts - but I wanted something a little bit more
direct :-)

The Slimserver 6.5.1 code is for Windows machines and force closes
other applications except Slimserver which is (hopefully) shutdown
correctly. The Linux / Mac talented among you may suggest changes for
those platforms.

Once installed, you will find a “Server Power Control” entry in the
Squeezebox unit’s displayed plugins list. Clicking right, you have the
choice of shutting down or restarting the server. Clicking right from
here will do the selected action in 3 seconds (which also blanks the
display) unless you navigate back. If a track is playing, it will
remain playing from the players buffer - no big issue.

The file ‘PowerCtrl.pm’ should be placed in Slimserver’s plugin
directory, and Slimserver restarted.

Enjoy :-)

--
Adrian C


+-------------------------------------------------------------------+
|Filename: PowerCtrl.pm                                             |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=2405|
+-------------------------------------------------------------------+

-- 
tenwiseman
------------------------------------------------------------------------
tenwiseman's Profile: http://forums.slimdevices.com/member.php?userid=5764
View this thread: http://forums.slimdevices.com/showthread.php?t=32674

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

Reply via email to