Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Solved Activate a Kodi builtin from JSON-RPC
#1
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?
Reply
#2
Check and see if this will work for you:

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

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.
Reply
#3
(2023-01-21, 17:01)pkscout Wrote: Check and see if this will work for you:

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

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.
Reply
#4
Thread marked solved.
Reply

Logout Mark Read Team Forum Stats Members Help
Activate a Kodi builtin from JSON-RPC0