ralphy wrote: > I use a script with parameters.
paul- wrote: > For what it is worth, the jsonrpc interface is quite a bit faster.> Code: -------------------- > > > busybox wget -q -O- --post-data='{"id":1,"method":"slim.request","params": [ "PLAYERNAME", [ "mixer", "volume", "+1" ] ]}' --header 'Content-Type: application/json' > http://192.168.0.10:9000/jsonrpc.js > -------------------- > > > Is there a way to use the jsonrpc with a script like ralphy's way? So that you can call a script with parameters like "lmsjson.sh --player PLAYERNAME --command mixer volume 75" ------------------------------------------------------------------------ foxsam's Profile: http://forums.slimdevices.com/member.php?userid=62520 View this thread: http://forums.slimdevices.com/showthread.php?t=108852 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix