OK. I had a look at the code. For much of the stuff you are doing. Cursor, etc... you can use the Kodi WebServer endpoint 8080
http ://kodi_ip:8080/jsonrpc and create a POST request with the content body.
You are also using the Version 1.4 of the Philips HTTP Library. I have a version 2.1 which support HTTP chunking which was necessary for use with the Logitech/Lyrion Media Server and COMETD protocol.
I will work to clean up what I can as I have Kodi installed on my local machine and can debug everything without having to put stuff onto a pi.
Consider using Port 8080 and HTTP Post. See the note about port 8090 and sending \n or 0x1A (Escape) between requests for framing. I'll also double-check if Kodi is sending this framing for responses/notifications. I doubt it does. I've also configured my Kodi to pretty-print the JSONRPC responses using userdata/advancedsettings.xml which by all means breaks the \n rule mentioned in the link below.
[Link: google.com]
Lyndel
Last edited by Lyndel McGee on August 14, 2026 21:18.