Re: [SlimDevices: Plugins] [Announce] Event Trigger - execute commands triggered by LMS server events

2021-05-08 Thread Roland0
Hotti wrote: > can I use event trigger to execute a script when a certain player is > powered on or off? > Use the "client disconnect" and "client reconnect" events 'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | TUI | Playlist Editor / Generator | Music Classification | Simi

Re: [SlimDevices: Plugins] [Announce] Event Trigger - execute commands triggered by LMS server events

2021-05-07 Thread Hotti
Hello, can I use event trigger to execute a script when a certain player is powered on or off? Please, if so, how? Regards, Cules Hotti's Profile: http://forums.slimdevices.com/member.php?userid=63975 View this thread: h

Re: [SlimDevices: Plugins] [Announce] Event Trigger - execute commands triggered by LMS server events

2020-12-24 Thread Roland0
bidule wrote: > > Here is a part of the log file > Log says: LMS log wrote: > > [20-12-24 09:22:41.5909] > Plugins::LMSeventTrigger::Plugin::initSubscription s (122) > LMSeventTrigger: error parsing lmseventtrigger.json > check that lmseventtrigger.json is valid json, has the correct stru

Re: [SlimDevices: Plugins] [Announce] Event Trigger - execute commands triggered by LMS server events

2020-12-24 Thread bidule
Hello Rolland, I had a look at where any squeezelite.log could be, I'm using DietPi. Here is the result: > /var/lib/dietpi/dietpi-ramlog/storage/squeezelite.log > /var/log/squeezelite.log > /var/tmp/dietpi/logs/dietpi-ramlog_store/squeezelite.log Three empty files. Jean --

Re: [SlimDevices: Plugins] [Announce] Event Trigger - execute commands triggered by LMS server events

2020-12-24 Thread bidule
Thank you Rolland, Yes the plugin in active. Here is a part of the log file > [20-12-24 09:22:41.5877] Plugins::LMSeventTrigger::Plugin::initPlugin > (74) LMSeventTrigger init start > [20-12-24 09:22:41.5895] > Plugins::LMSeventTrigger::Plugin::initSubscriptions (110) > LMSeventTrigger: using /e

Re: [SlimDevices: Plugins] [Announce] Event Trigger - execute commands triggered by LMS server events

2020-12-24 Thread Roland0
bidule wrote: > > I installed your plugin from the repository > Nothing happen > - Does the plugin appear in the LMS Web interface > Settings > Plugins > Active plugins list ? - If so, switch logging to debug for the plugin (LMS Web interface > Settings > Advanced > Logging > plugin.lmseventt

Re: [SlimDevices: Plugins] [Announce] Event Trigger - execute commands triggered by LMS server events

2020-12-23 Thread bidule
Hello Roland, Here are the steps I took: I installed your plugin from the repository I created a conf file Code: nano /etc/lmseventtrigger.json #Test automatic PAUSE behaviour > { > "enabled": true, > "numStatusResults":1, > "events": [ > {"cmd

Re: [SlimDevices: Plugins] [Announce] Event Trigger - execute commands triggered by LMS server events

2020-11-03 Thread davemal
Thanks I will brush up on some shell scripting and have a play. davemal's Profile: http://forums.slimdevices.com/member.php?userid=21639 View this thread: http://forums.slimdevices.com/showthread.php?t=110344 ___

Re: [SlimDevices: Plugins] [Announce] Event Trigger - execute commands triggered by LMS server events

2020-11-02 Thread Roland0
davemal wrote: > > 1. Will this trigger on volume events ? I have tried > "event":[["mixer"],["volume","+1"]]} and a few variations but not able > to fire. > "event":[["mixer"], ["volume"]] > > 2. Is it possible to isolate to events from a specific player ? > The player status is passed a

Re: [SlimDevices: Plugins] [Announce] Event Trigger - execute commands triggered by LMS server events

2020-11-01 Thread davemal
Hi Roland, A couple of questions with this please. 1. Will this trigger on volume events ? I have tried "event":[["mixer"],["volume","+1"]]} and a few variations but not able to fire. 2. Is it possible to isolate to events from a specific player ? thanks

[SlimDevices: Plugins] [Announce] Event Trigger - execute commands triggered by LMS server events

2019-03-17 Thread Roland0
LMS Event Trigger is a plugin for executing external commands triggered by LMS server events. Example scenarios - Send a notification that a library rescan has finished to an Android device (using 'Gotify' (https://gotify.net/)) - Power off the server after a playlist has finished - Show