gharris999, I just started testing the latest release of your plugin,
but I can not get it to suspend my server. I tried both methods to
suspend the server, but I don't think the psshutdown.exe is ever
executed. I get the message that the system will suspend in 15 sec, but
it never suspends the system. It switches to the SN when I use the
switch to SN option. I can execute the psshutdown.exe with its
parameters from the command prompt and works as expected. I'm running
today's SC 7.1 build on a laptop running Windows XP SP3. I set the
logging for the plugin to debug - See the relevant lines below. 

I have been using the old (barely modified) version of PowerCntrl. I
modified the line with SetSuspendState(1,1,0) to SetSuspendState(0,1,0)
to get it to suspend my server. It works for the most part, but lately
after applying a couple Windows Updates and using the recent 7.1 builds
once in a while it fails to suspend the server.

Btw, thanks for all the work. I like what you done with this plugin,
but I have a couple requests that I hope you can accommodate.

1. Can you make "all" the menu lines for
shutdown/suspend/restart/hibernate optional? I will mostly be using the
Suspend to SN option and scrolling through options with the remote is
not my favorite thing. 
2. Can you add an option to Suspend to SN and then turn the player off?
This way I can right-click once and walk away. With the modified version
of the plugin that I've been using I right-click to suspend the server,
then I have to wait a couple seconds, left-click to get the small-font
option to switch to the SN and then I turn off the player. This way I
keep my server off to save power while I'm away instead of a blank
screen in the SB3 while the server is off. When the SB3 is off I have
the SN Clock as the Screensaver. In this state my wife can turn on the
SB3 and switch from the SN to the SC and listen to her music with no
problem. But... she calls me when she wants to turn off the SB3/SC
combo because is to complicated. When the server goes off is a bit
tricky (even for me) to swicth to the SN. She complains and gets
confused by having to click and hold the left button and because she
can not read the small default fonts of the SB3 setup screens.

One more thing.... I also noticed that sometimes when I select the
Suspend to SN option the Player goes back to the Signing Off the
SqueezeNetwork Message instead of going back to the Now Playing option
of the SN menu. 


[11:33:02.9508] Slim::Utils::Cache::cleanup (231) Cache purge:
FileCache/SQLPlayList/TrackStat/2.1/Playlists - skipping, purged
recently
[11:45:44.9494] Plugins::SrvrPowerCtrl::Plugin::doInputListCallback
(392) Suspending in 15 seconds.. Press the left key to cancel..
[11:45:59.0029] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
action: suspend 
[11:45:59.0045] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
menutext: Suspend Server 
[11:45:59.0063] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
message: Suspending 
[11:45:59.0077] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
gotosn: 0 
[11:45:59.0091] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
cmdwait: 5 
[11:45:59.0104] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
docleanup: 0 
[11:45:59.0120] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
command: c:\windows\system32\cmd.exe /C start /B psshutdown.exe -c -f
-d -t 20 
[11:46:51.4618] Plugins::SrvrPowerCtrl::Plugin::doInputListChange (425)
Restart Server...
[11:46:51.5689] Plugins::SrvrPowerCtrl::Plugin::doInputListChange (425)
Restart Server...
[11:46:52.4922] Plugins::SrvrPowerCtrl::Plugin::doInputListChange (425)
Suspend Server...
[11:46:52.5987] Plugins::SrvrPowerCtrl::Plugin::doInputListChange (425)
Suspend Server...
[11:46:54.6691] Plugins::SrvrPowerCtrl::Plugin::doInputListChange (425)
Shutdown to SqueezeNetwork...
[11:46:54.7761] Plugins::SrvrPowerCtrl::Plugin::doInputListChange (425)
Shutdown to SqueezeNetwork...
[11:46:58.5850] Plugins::SrvrPowerCtrl::Plugin::doInputListChange (425)
Suspend to SqueezeNetwork...
[11:46:58.6918] Plugins::SrvrPowerCtrl::Plugin::doInputListChange (425)
Suspend to SqueezeNetwork...
[11:47:00.3974] Plugins::SrvrPowerCtrl::Plugin::doInputListCallback
(392) Suspending to SqueezeNetwork in 15 seconds.. Press the left key
to cancel..
[11:47:15.0015] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
action: suspend2SN 
[11:47:15.0031] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
menutext: Suspend to SqueezeNetwork 
[11:47:15.0045] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
message: Suspending to SqueezeNetwork 
[11:47:15.0059] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
gotosn: 1 
[11:47:15.0072] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
cmdwait: 120 
[11:47:15.0086] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
docleanup: 0 
[11:47:15.0105] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (475)
command: c:\windows\system32\cmd.exe /C start /B psshutdown.exe -c -f
-d -t 20 
[11:47:15.0127] Plugins::SrvrPowerCtrl::Plugin::doSystemShutdown (502)
Attempting to connect MyPlayer to www.squeezenetwork.com...


-- 
tamanaco
------------------------------------------------------------------------
tamanaco's Profile: http://forums.slimdevices.com/member.php?userid=4620
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