PDA

View Full Version : KODI Remote control via http



MarBe
January 3rd, 2016, 02:42 PM
Hi, I tried to use default lua script for control Kodi. I editted the lua script for Kodi6.
On run I get only this error

ne led 3 21:36:32 2016 Kodi true 200 {"error":{"code":-32100,"message":"Failed to execute method."},"id":106,"jsonrpc":"2.0"}
ne led 3 21:36:32 2016 Request Error Failed to execute method. -32100 {"id":106,"jsonrpc":"2.0","method":"Player.PlayPause","params":{"playerid":0}}

I tried help on this thread, but it the same
http://www.promixis.com/forums/showthread.php?21886-Kodi-XBMC-jsonrpc-control&highlight=xbmc

Thank you for help

Ron
January 4th, 2016, 08:01 AM
That is an error returned by kodi. Could be that you can't do that action at this time or that you have the wrong playerid...

MarBe
January 4th, 2016, 11:46 AM
Yes, that was the error. I used this thread to complete the tasks
http://www.promixis.com/forums/showthread.php?21886-Kodi-XBMC-jsonrpc-control&highlight=xbmc