3 commands In Json
#1
Hi
i would like to create an add-on for android/ios that does what the official XBMC remote does.

display text on the screen
pause
resume



can someone please help me with the http json command? i have less than zero knowledge about it
thanks
Reply
#2
To send a notification message use the following RPC call

Code:
{"id":1,"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"SUBJECT_OF_MESSAGE","message":"MESSAGE_TEXT","image":"//path//to//image//file.png","displaytime":15000}}

There are some useful examples of other RPC calls on the wiki;
http://kodi.wiki/view/JSON-RPC_API/Examples

also a few posts down on this forum;
http://forum.kodi.tv/showthread.php?tid=157996

More details of the available RPC metheds cand be found here;
http://kodi.wiki/view/JSON-RPC_API/v6

Hope this helps Smile
Reply

Logout Mark Read Team Forum Stats Members Help
3 commands In Json0