I have tested with Curl, and that seems broken too!
I send executeCommandLine("curl --user kodi:kodi1989 --header 'Content-Type: application/json' --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Player.Open", "params": {"item": { "partymode": "music" } } }' '
http://10.0.24.7/jsonrpc'
and the response I get from the log is
14:53:13.989 ERROR o.o.c.s.ScriptExecutionThread[:50]- Error during the execution of rule 'Set Party Mode on Kodi': The name 'id' cannot be resolved to an item or type.
I have tried replacing the " with %22 , and preceding with a \. Still same error.
How can I pass a string with double quotes in it via openhab - I can see openhab is confuised and thinks the " indicates another item.
Any suggestions?
Chris