Kodi Community Forum

Full Version: Overwritting RPC message
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dear all,
I wonder whether I can modify the syntax of return message of a RPC call? For instance, I would like to call Input.ExecuteAction with "screenshot" action, then inside the returned JSON message, I attach the snapshot directly if the capturing operator is sucessful.
Thank you in advance for your instruction
Not without changing the code / implementation. But JSON-RPC is not a good protocol for transfering binary data.
Thank you Montellese for the answer.
It was just an example to illustrate my need on exposing some media data of Kodi to the ouside world (other than those of JSON RPC).I would like to exploit the REST service of Kodi to avoid opening a new kind of deamon server listening / connecting to other end of communication.
What can you recommend me to do in the above situation?