slartibartfast wrote: > I don't have "/home/pi/sh" as a command. I am clutching at straws. All I > know is that using Putty the command > sh zaireeka.sh > works. > zaireeka.sh is in the folder /home/pi and the script is executable. > > Sent from my Pixel 3a using Tapatalk
so "sh" is the name of the shell command. If you type (on the machine where the script is to run): Code: -------------------- where sh -------------------- it will give you the path to the current "sh" command - probably "/bin/sh" Edit you script so that the first line is: Code: -------------------- #!/bin/sh -------------------- (change /bin/sh to match the where output). Now your actions.json just needs: Code: -------------------- { "system":[ { "title":"Zaireeka", "command":"/home/pi/zaireeka.sh", "prompt":"Do this command?" } ] } -------------------- *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 Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter