oreillymj Wrote: 
> The plugin can execute scripts based on certain Squeezebox "events".
> 
> i.e. You can configure a script to run when you power off the
> Squeezebox. If that script powers down your PC, then you should be able
> to indirectly get your PC to got into standby by switching "off" your
> Squeezebox.
> 
> On Windows create a directory called scripts here - C:\Program
> Files\slimserver\server
> 
> In C:\Program Files\slimserver\server
> \scripts create a file called Standby.bat. Edit this file in Notepad
> and put this line into it.
> 
> %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
> 
> Now save the file and exit Notepad.
> 
> Put the Execute plugin into C:\Program Files\slimserver\server\Plugins
> and restart you Slimserver service. From the Web Ui, navigate to the
> Server settings->Plugins page. You should see some new options for the
> execute plugin. On the power off event, tell it to execute Standby.bat

I am using a laptop with Windows XP home edition with Slim Server 6.5b1
- 7321 - Windows XP - EN - cp1252. 

I rewrote standby.bat to first echo "foo" > c:\temp\foo then powerdown.
I hit the poweroff on the remote control and the laptop does not
powerdown and it does not write c:\temp\foo BUT when I click on
standby.bat it works perfectly.

So then I also put standby.bat to execute on the play action, when I
hit play it says "standby.bat" on the slim device (SB3 wired) but yet
still does not work.

So this looks like a permissions problem but I can not figure it out.
Ideas? Thanks.


-- 
bms13
------------------------------------------------------------------------
bms13's Profile: http://forums.slimdevices.com/member.php?userid=1727
View this thread: http://forums.slimdevices.com/showthread.php?t=23109

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

Reply via email to