Removing "button" from the json allowed the request to work for me
(targeted device played as expected).
https://gist.github.com/samtherussell/335bf9ba75363bd167d2470b8689d9f2


Code:
--------------------
    
  $ curl -X POST -d 
'{"id":0,"params":["00:XX:XX:XX:XX:XX",["play"]],"method":"slim.request"}' 
http://192.168.1.7:9000/jsonrpc.js
  
{"params":["00:XX:XX:XX:XX:XX",["play"]],"method":"slim.request","id":0,"result":{}}
  
--------------------


------------------------------------------------------------------------
coldslabs's Profile: http://forums.slimdevices.com/member.php?userid=450
View this thread: http://forums.slimdevices.com/showthread.php?t=113704

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

Reply via email to