simonfelding / kodi-cecstartstop

Starts and stops Kodi when TV powers on and off with a remote control. Made for Raspberry Pi running Raspbian.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starts and stops Kodi when TV powers on and off with a remote control. Made for Raspberry Pi running Raspbian.

Requirements

A user named kodi for the kodi service, in groups render, audio, lp

Install procedure

sudo pip3 install cec

sudo apt install kodi-eventclients-kodi-send

sudo mv *.service /etc/systemd/system/

sudo mv kodistartstop.py /usr/bin/kodistartstop.py

sudo chmod +x /usr/bin/kodistartstop.py

sudo systemctl enable kodistartstop.service

About

Starts and stops Kodi when TV powers on and off with a remote control. Made for Raspberry Pi running Raspbian.


Languages

Language:Python 100.0%