I'm on Windows I'm afraid! Thanks for the link I should be able to create a script to call your SCCLITool.exe and switch to SqueezeNetwork.
Thanks gharris999;387755 Wrote: > What operating system are you using on the server? If it's linux, I > think this should be relatively easy: > > Edit the /etc/init.d/halt script so that a CLI call is made to > SqueezeCenter early on in the script (i.e. before services like > SqueezeCenter are stopped). You could use NetCat (nc) to send the CLI > request. It would be something like this: > > Code: -------------------- > > > #Additions to near the head of /etc/init.d/halt to switch SqueeezeBoxes to SN.. > SCIp='127.0.0.1' > CLIPort='9090' > #Make sure to edit the following to use YOUR player's MAC address.. > PlayerMAC='00:04:20:10:01:09' > echo $PlayerMAC connect wwww.squeezenetwork.com | nc -w 3 $SCIp $CLIPort > sleep 5 > -------------------- > > > If your server is running windows, you can accomplish the same sort > of thing, I imagine, by following the instructions on creating a > shutdown script here: http://www.tutorial5.com/content/view/157/47/ > > In that case, you could again use NetCat (if you can find a win32 > binary) or my SCCLITool.exe to send the CLI request. See > http://forums.slimdevices.com/showthread.php?t=52951 for SCCliTool. -- robroe ------------------------------------------------------------------------ robroe's Profile: http://forums.slimdevices.com/member.php?userid=14248 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
