2014-01-31, 19:32
This is the JSON call to update the whole library:
Quote: "VideoLibrary.Scan": {Here is the RPC:
"description": "Scans the video sources for new library items",
"params": [
{
"default": "",
"name": "directory",
"type": "string"
}
],
"returns": {
"type": "string"
},
"type": "method"
}
Quote:curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://<xbmc_remote_client_ip_address>/jsonrpcQuestion: How do you specify the "directory" in the call so that only the defined directory is updated: