2016-11-30, 02:04
(2016-11-30, 01:50)jingai Wrote: It's not returning the list of movies to the skill.
If you have access to curl, try running:
Code:curl --data-binary '{"jsonrpc":"2.0", "method":"VideoLibrary.GetMovies", "id":1}' -H 'content-type: application/json;' -u username:password http://host:port/jsonrpc
curl: (6) Could not resolve host: method
curl: (3) [globbing] unmatched close brace/bracket in column 5
curl: (6) Could not resolve host: application
but if I go direct to: http://test.net:8070/jsonrpc
I get
{
"description": "JSON-RPC API of XBMC",
"id": "http://xbmc.org/jsonrpc/ServiceDescription.json",
"methods": {
"Addons.ExecuteAddon": {
"description": "Executes the given addon with the given parameters (if possible)",
"params": [
{
"name": "addonid",
etc