Overwritting RPC message
#1
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
BR
Reply
#2
Not without changing the code / implementation. But JSON-RPC is not a good protocol for transfering binary data.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#3
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?
Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Overwritting RPC message0