Skip to content

clement-dufour/script.module.json-cec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forked from https://github.com/joshjowen/script.json-cec

Usage

Accepted commands

  • 'activate' - Wake up playing device
  • 'toggle' - Toggle state of playing device
  • 'standby' - Put playing device on standby

Request example

curl -X POST -H 'content-type:application/json' http://kodi:8080/jsonrpc -d '{"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.module.json-cec","params":{"command":"activate"}},"id":1}' 

Installation

Clone the project to Kodi addons folder: ~/.kodi/addons/

About

Control CEC devices through Kodi's JSON-RPC API

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%