Hi all, I'm trying to run a command against the LMS web server using
curl from a linux terminal but am not being successful this is what I've
tried

You don't need help with curl, but with the jsonrpc.js implementation ;-). As you might have seen from Jan's response you'll have to separate the words of your query. Rather than ["info total duration"], you need to send ["info", "total", "duration"].

Whenever you ask for help, please make sure you include error messages, results etc. for your actions, too. You didn't mention what your query returned. And by watching the server.log file you'd probably have seen that LMS was complaining about an invalid command or similar.


--

Michael
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to