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
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
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
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
--
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
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
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
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
___
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
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
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
11 matches
Mail list logo