Re: [SlimDevices: Plugins] Power Script for Windows version of Squeezelite

2021-02-26 Thread ralphy
rlsx wrote: > Thanks, but sigh... > How is it supposed to work on a Linux device? A shell script? How is it > structured for ON-action, and OFF-action? Yes it's a shell script. That must have execute permissions and you need to provide the full path to the script in the -S option. There's

Re: [SlimDevices: Plugins] Power Script for Windows version of Squeezelite

2021-02-25 Thread rlsx
ralphy wrote: > Well, yes but no. I noticed recently that the power script build option > was enabled for squeezelite on MacOS by mistake and removed it. > > It doesn't work on MacOS either as the hooks are not in output_pa.c Thanks, but sigh... How is it supposed to work on a Linux device?

Re: [SlimDevices: Plugins] Power Script for Windows version of Squeezelite

2021-02-25 Thread ralphy
rlsx wrote: > Is the -S option enabled for MacOS? > Would the script be just an excutable shell script? > > Many thanks for your extensive work on this, a well as on Jivelite, etc. Well, yes but no. I noticed recently that the power script build option was enabled for squeezelite on MacOS

Re: [SlimDevices: Plugins] Power Script for Windows version of Squeezelite

2021-02-24 Thread rlsx
ralphy wrote: > Currently, there are no calls in output_pa.c to run the power script, so > you can't just enabe the power script build option for windows. > > I tried to add support for -S on windows in the past, however, the power > script would only ever trigger three times and never again

Re: [SlimDevices: Plugins] Power Script for Windows version of Squeezelite

2021-02-23 Thread tonymahoney
Appreciate the reply, I assumed it wasn't straightforward! In case it's of any interest to anyone, I ended up starting squeezelite with the basic logging option then using a powershell script to monitor the log for 'output on' or 'output off' then turn my amp on/off accordingly (and clear the

Re: [SlimDevices: Plugins] Power Script for Windows version of Squeezelite

2021-02-21 Thread ralphy
Currently, there are no calls in output_pa.c to run the power script, so you can't just enabe the power script build option for windows. I tried to add support for -S on windows in the past, however, the power script would only ever trigger three times and never again after that. Ralphy

[SlimDevices: Plugins] Power Script for Windows version of Squeezelite

2021-02-19 Thread tonymahoney
Hi all, Massively appreciate the hard work everyone puts in to keep this project alive. Unless I'm missing something, the windows version of Squeezelite doesn't have the "-S " option, is this possible to implement in a future update or is there an alternative way of running a script when