I have just set up a SqueezeCenter/ Duet system using a VISTA-based PC
as the server. My system is: SqueezeCenter 7.2.1, Duet, Vista Home
Premium on a quad core. I use the PC as a music server and as my
primary workstation. I run SqueezeCenter as a system service (at
startup not logon).

First some comments about SrvrPowerCtrl and VISTA. VISTA handles
services (like SqueezeCenter) somewhat differently from XP and earlier
Windows.

INSTALL ON VISTA
----------------
I have installed SrvrPowerCtrl dated 20081031 on Vista. This greatly
improves on the non-existent server management provided with
SqueezeCenter, so thankyou. I found that PsShutdown cannot be tested in
the way that you say in the release notes. On VISTA, you have to run
psshutdown as an administrator otherwise you will get an access
violation. Simply logging on as an administrator is not good enough. I
found that the following amended version of your Windows instructions
worked:
________________________________________________________________
To install the plugin for windows, copy the plugin files to:
C:\Program Files\SqueezeCenter\server\Plugins\SrvrPowerCtrl

Then, you'll need to download psshutdown.exe from the Sysinternals
website:
http://technet.microsoft.com/en-us/sysinternals/bb897541.aspx
..and install the psshutdown.exe file somewhere in your path, e.g.
c:\windows.

Make sure that the psshutdown.exe command operates on your system. 
Try:

*****Goto Start, type cmd in the search box. Do not press ENTER.
*****Right click on cmd.exe in the search results area and click Run as
Administrator.
*****Now type into the DOS box:

        psshutdown.exe -accepteula -c -f -k -t 20

Assuming that that command worked, you can reboot your server or
restart
the SqueezeCenter service to activate the plugin.

You can check to see if the plugin is active by browsing
SqueezeCenter's 
web UI to the Settings->Plugins->Server Power Control:Settings page.
________________________________________________________________

PSSHUTDOWN ON VISTA
-------------------
The visible effects of PsShutdown (and other non-interactive services)
are different on VISTA from earlier Windows versions. When the shutdown
warning appears on the VISTA PC, it appears in the taskbar as a message
entitled "Interactive Services Dialog Detected". It does NOT appear on
the desktop as (if memory serves me correctly) it used to on XP. A
click on the taskbar entry shows a window with the message "The program
may need information or permission to complete ...". A further click on
"Show me the message" causes a new screen to be displayed (NOT the
desktop) with a box with a button to "Return to Desktop" and another
box with the message from PsShutdown saying that the "The system is
suspending in ..." with the option to cancel. If you see the message in
time, you can abort the shutdown. This is the case irrespective of
whether SqueezeCenter is installed as a startup service or as a
start-on-logon application. The bottom line of this behaviour is that
the shutdown warning is all but invisible to the user. So if, like me,
you use the machine as a workstation, it is very easy for SrvrPowerCtrl
to force a shutdown without you seeing the message. 

To get round this, I make sure that SoftSqueeze is playing when I'm
using the workstation. I've also set a long cancel timeout (10 minutes)
for PsShutdown to increase my chances of seeing the message. 

A WISH
------
So this leads me to a wish. Is it possible for SrvrPowerCtrl to avoid
initiating a shutdown while there is recent keyboard/mouse activity.
i.e. both SrvrPowerCtrl AND normal PC power plan shutdown conditions
should be met before a shutdown. 

SOME QUESTIONS
--------------
I can switch my Duet to SqueezeNetwork by selecting a new music source
but the Suspend to SqueezeNetwork command seems to screw up the
controller and receiver and I have to do a factory reset to get them
working again. Any ideas?

I noticed that new firmware get loaded whenever I switch between
SqueezeNetwork and my local server? Is this normal behaviour? What is
happening?


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

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

Reply via email to