Kodi Community Forum
Solved Activate a Kodi builtin from JSON-RPC - 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 Activate a Kodi builtin from JSON-RPC (/showthread.php?tid=371468)



Activate a Kodi builtin from JSON-RPC - holybladder - 2023-01-21

Sorry if this is covered elsewhere but I've searched google and the forums fairly extensively and haven't found it: How do you trigger a Kodi builtin from the JSON API? Do you have to make a Python script then call it via the API?


RE: Activate a Kodi builtin from JSON-RPC - pkscout - 2023-01-21

Check and see if this will work for you:

https://kodi.wiki/view/JSON-RPC_API/v13#Input.ExecuteAction

I'm not sure about the syntax and not even 100% sure that will run built-in actions.  But if it isn't that, it doesn't look like there is a way to do it via the JSONRPC calls.


RE: Activate a Kodi builtin from JSON-RPC - holybladder - 2023-01-21

(2023-01-21, 17:01)pkscout Wrote: Check and see if this will work for you:

https://kodi.wiki/view/JSON-RPC_API/v13#Input.ExecuteAction

I'm not sure about the syntax and not even 100% sure that will run built-in actions.  But if it isn't that, it doesn't look like there is a way to do it via the JSONRPC calls.
Ah, thank you for that. Unfortunately it looks like that only triggers certain predefined actions, which don't include the one I was looking for (ToggleDPMS) - it's okay, I've used the Python script workaround in the end.


Activate a Kodi builtin from JSON-RPC - Klojum - 2023-01-21

Thread marked solved.