Kodi Community Forum
Solved Runscript from a JSON Command - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Solved Runscript from a JSON Command (/showthread.php?tid=234884)

Pages: 1 2


RE: Runscript from a JSON Command - [email protected] - 2020-11-02

(2020-11-02, 20:45)black_eagle Wrote:
(2020-11-02, 19:42)[email protected] Wrote:  
(2020-11-02, 19:42)[email protected] Wrote: What then remove it altogether?

Yes.  Or at least, it is not part of the parameters so I don't think it should be there.  However, as I don't use Yatse, I could be totally wrong as I don't know how it implements it's JSON calls but I would imagine it sets the id itself.

I tried removing, no dice.  Still does not work.

I get this error:
 {"error":{"code":-32601,"message":"Method not found."},"id":1604345002073,"jsonrpc":"2.0"}


RE: Runscript from a JSON Command - black_eagle - 2020-11-02

Yes, that means the method is wrong.  Try Input.ExecuteAction as the method and "action":"pagedown" for the params.  The actual line would be
json:
{"jsonrpc": "2.0", "id": 1, "method":"Input.ExecuteAction", "params":{"action":"pagedown"}}



RE: Runscript from a JSON Command - DarrenHill - 2020-11-03

Yatse has its own support community forum. I'd suggest asking there...


RE: Runscript from a JSON Command - [email protected] - 2020-11-03

(2020-11-02, 21:58)black_eagle Wrote: Yes, that means the method is wrong.  Try Input.ExecuteAction as the method and "action":"pagedown" for the params.  The actual line would be
json:
{"jsonrpc": "2.0", "id": 1, "method":"Input.ExecuteAction", "params":{"action":"pagedown"}}

still a no go.  I can't believe there is not a list somewhere of the specific syntax Yatse requires


RE: Runscript from a JSON Command - [email protected] - 2020-11-03

(2020-11-03, 00:05)DarrenHill Wrote: Yatse has its own support community forum. I'd suggest asking there...

tried that as well


RE: Runscript from a JSON Command - DarrenHill - 2020-11-03

Yatse is not our product, nor is it supported or endorsed by Team Kodi.

Whilst you're welcome to ask the community here about it, any shortcomings in it or its documentation are not down to us. Hence my previous suggestion, to ask those who are actually responsible for it.


RE: Runscript from a JSON Command - [email protected] - 2020-11-03

ok now it works

Method: Input.ExecuteAction
Params: {"action":"pagedown"}

Thank you


Runscript from a JSON Command - DarrenHill - 2020-11-03

Thread marked solved.