Hosting script.json-cec for internal distribution

This commit is contained in:
Oli Passey
2018-01-17 17:22:28 +00:00
parent 42c3676be8
commit 9982a3f13f
11 changed files with 384 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
Send CEC commands through XBMCs JSON-RPC.
XBMC Gotham is required because that is when these built in function were made available to add-ons.
Accepted commands are:
activate - Wake up playing device via a CEC peripheral
standby - Put playing device on standby via a CEC peripheral
toggle - Toggle state of playing device via a CEC peripheral
example JSON request:
http://localhost:8080/jsonrpc?request={“jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.json-cec”,”params":{"command":"activate"}},"id":1}