Kodi Community Forum
Add json-rpc method - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Add json-rpc method (/showthread.php?tid=140425)



Add json-rpc method - mudderman - 2012-09-13

Hi,

I was pondering if it is possible to let an addon register methods to the json-rpc api (it seems like the answer is no), but how hard would it be to add that kind of functionality? (could try it myself I guess, I'm not afraid to get my hands dirty Wink )

What I'm after is something in the likes of:

- Either starting a addon through the json-rpc api (with parameters) and retrieve the output of it.
- Or letting the addon register some methods to the api which I then call through http from my client and get some json as response.