Working JSON RPC API Examples

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
t4_ravenbird Offline
Senior Member
Posts: 276
Joined: Mar 2012
Reputation: 11
Post: #121
this part is not valid json :
Code:
{"properties": "directory":"home", "media":"video"}

these are valid json (but not necessarily what the command expects)
Code:
{ "properties": { "directory":"home" } , "media":"video" }
{ "properties": { "directory":"home" , "media":"video" } }

this is a nice place to check your syntax : http://www.jsoneditoronline.org/
find quote
lumiknight Offline
Junior Member
Posts: 5
Joined: Mar 2017
Reputation: 0
Post: #122
Huh need an example of the json rpc commands to get audio and video library when kodi is playing items from a upnp server. also need the commands to get the file pathways for direct play through the json rpc. any insight would be useful. thanks
find quote
Post Reply