Hi
I’m trying to use the VideoLibrary.RemoveTVShow method on Kodi 17 (API Wiki) but I’m getting parse error in response.
Code:
curl -H "Content-Type: application/json" -X POST -d "{'params': {'tvshowid': 1, 'id': 2}, 'jsonrpc': '2.0', 'method': 'VideoLibrary.RemoveTVShow'}" http://192.168.1.10:8080/jsonrpc
Code:
{"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}
What am I doing wrong?