Your script cannot have any console output either.  Writing to stdout
will cause it to fail.  You can write to a log file, and I think you can
write to stderr without issue.

This script gets executed when squeezlite is launched (Mode: init), and
again when the "power" status is changed in lms.   To issue a power on
or power off command.

However,

It appears that you are only trying to implement a power off
script.......which to be honest won't work, as squeezelite quite often
toggles the state in between streams (when it closes and then opens
alsa)

This was purely meant to interface with relays that turn amps on and
off.


------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to