update library using json and curl?
#9
Code:
curl -H "Content-Type: application/json" -u user:pass -d '{"jsonrpc":"2.0","method":"VideoLibrary.Scan","id":"scan"}' http://address:port/jsonrpc

Or, on Windows:

Code:
curl -H "Content-Type: application/json" -u user:pass -d "{\"jsonrpc\":\"2.0\",\"method\":\"VideoLibrary.Scan\",\"id\":\"scan\"}" http://address:port/jsonrpc
Reply


Messages In This Thread
RE: update library using json and curl? - by avens19 - 2013-01-10, 18:26
Logout Mark Read Team Forum Stats Members Help
update library using json and curl?0