Philip Meyer;379457 Wrote: > I tried the new version of the plugin last night, and have a few > questions/observations: > > 1a) I tried to change the configuration to use WOSB.exe for timed > wake-up. I had some strange issues at first trying to send the server > into suspend from a player. I think it couldn't run the cmd, because > it couldn't find wosb.exe on the path. When this happened, the cmd.exe > process hung, blocking further SC processing. Took me a while to notice > that there was a cmd.exe process.The SysInternals ProcessExplorer is your > friend for debugging things like this.
Philip Meyer;379457 Wrote: > 1b) I had a problem entering quotes in the settings screen (i.e. WOSB is > installed to a folder that I haven't got in my system path, so I was > entering something like "P:\System Tools\Power > Management\WOSB\WOSB.exe"). The command was truncated at the first > quote I think, so I copied wosb.exe to C:\Windows\System32\. I don't have a solution for the quotes problem. I think this may be a limitation of the prefs system that SC uses. Can you enter and retrieve anything with quotes in any other settings page in SC or any other plugin? Anyway, the work-around is to enter the command in a dos 8.3 sortpath form. See http://answers.google.com/answers/threadview?id=522710 for a little vb script that allows you to compute the shortpath. Philip Meyer;379457 Wrote: > 2. I think it's likely that my Comodo firewall/defence software wasn't > allowing the console commands to run, and I wasn't seeing the pop-ups > on the server. So I ran the command in a console window manually > first, accepted the pop-up firewall alerts, and then all was good. Good is > good. Philip Meyer;379457 Wrote: > 3. However, when I suspend from a player UI, it seems to take a long > time to actually suspend the server. I have the warning period set to > 5 secs, but it takes about 40 secs (looking at the clock screensaver) > for the suspend to happen. In previous versions it was very quick (1 > sec after the warning period). Change the suspend command to > "c:\windows\system32\cmd.exe /c start /b SCPowerTool.exe --suspend --quiet" to reduce the wait time. Or replace --quiet with --wait=5 or somesuch if you still want the cancel messagebox to appear. The default wait time written into SCPowerTool.exe is 20 seconds. Philip Meyer;379457 Wrote: > 4. I tried playing some music, setting the player to sleep in 5 mins, > and then invoking the suspend function. I have the option enabled to > "Defer action if sleep timer is active". The player UI reported that > it would suspend in 5 mins, but it instantly suspended. I'll check this out. It's possible I broke the sleep-playing feature with these latest code changes. I'll do some testing..but it will have to wait until I get back from AZ later in the week. Philip Meyer;379457 Wrote: > 5. The system woke up and played my alarm this morning, so that seems to > work. However, when my playlist ran dry, it seemed as if my server went > into suspend again. I need to confirm this, but there is a chance that > something is iffy with wake up after suspend after sleep.The PowerTool > --keep-alive is really a kludge. The comprehensive fix for this is a new version of the PreventStandby plugin. See: http://forums.slimdevices.com/showthread.php?t=57632 and give it a try. Remember, this new version of PreventStandby isn't a "user" plugin. It's meant to replace the current PreventStandby plugin at C:\Program Files\SqueezeCenter\server\Slim\Plugin\PreventStandby. If my proposed version of PreventStandby works for you, you can remove the "On wakeup command" from SrvrPowerCtrl's settings. Keep the "Take other action on wakeup" checked if you want your players yanked back from SN on resume. Thanks for your comments and thanks for so thoroughly kicking the tires. -- 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/lists/listinfo/plugins
