vedri wrote: 
> Guys i would like  to shutdown Squeezebox to
> http://www.mysqueezebox.com/ on external shutdown, can this be done via:
> >>>Optional special command to execute on “external” shutdown:<<< 
> I have found this: echo srvrpowerctrl hibernate2AS
> Switching_to_SqueezeNetwork '00:04:20:06:29:11' | nc -w 1 127.0.0.1 9090
> but i dont know how to implement it on external shutdown... i am noob at
> this
> 
> Can somebody please help? Thanks for the time!

With SrvrPowerCtrl, in the settings, just make sure that:

Alternate Server: Switch ALL players when switching to alternate server?
CHECKED

-- and --

Alternate Server: Push players to alternate server on “external”
shutdown? CHECKED

That should push all players currently connected to the LMS server to
mysqueezebox.com if you turn off the server via any "normal" shutdown
method other than just yanking the power cord.  I.e. it should work
automatically if you press the power button on the server or, e.g. #sudo
shutdown -h now on a linux system.


------------------------------------------------------------------------
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/mailman/listinfo/plugins

Reply via email to