Make sure your shell script is executable: "chmod +x script.sh" and has
"#!/bin/bash" as the first line. e.g.
Code:
--------------------
#!/bin/bash
echo "Hello"
--------------------
Then in actions.json you need the full path to the script:
Code:
--------------------
{
"system":[
{
"title":"Zaireeka",
"command":"/tmp/test.sh",
"prompt":"Do this command?"
}
]
}
--------------------
The above works on my system - "Hello" is printed to there terminal
window where LMS is running.
*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115927
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter