sh1ntomi wrote: 
> That was the problem..thanks.
> 
> Any suggestions on how I can get the exit status of the shell script
> back to the squeezelite UI screen.

Onto squeezelite UI? No idea. To send a notification to Material you can
use its notification mechanism - see
https://github.com/CDrummond/lms-material/wiki/09-Notifications e.g. 
with CURL:


Code:
--------------------
    
  curl 'http://localhost:9000/jsonrpc.js' --data-raw 
'{"id":0,"method":"slim.request","params":["",["material-skin", "send-notif", 
"type:alert", "msg:Hello world"]]}'
  
--------------------



*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=109624

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to