Skip to content

This script allow you to wake up your raspberry pi kodi using a yatse remote

License

Notifications You must be signed in to change notification settings

denics/yatse-kodi-startup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wake up your Kodi box using Yatse!

This script allows you to start kodi on your media center using yatse as a remote controller. Once it is running, the script will be listening to any upcomming WoL message to run the command to start kodi service.

The script has been successfully tested on rasbian, archlinux ARM (raspberry pi), debian and ubuntu.

UPDATE You can find a more recent Python version here: https://github.com/danifr/wol-kodi/tree/python

Add the Start/Stop Script to init.d

sudo cp yatse /etc/init.d/yatse
sudo chmod +x /etc/init.d/yatse

Copy the script to usr

sudo cp yatse.pl /usr/local/bin/yatse
sudo chmod +x /usr/local/bin/yatse

Make sure you have the dependences

The script is written in perl so be sure you have perl properly insalled before continuing.

Also, since it needs to deal with proccess' ids (PIDs) the script uses the perl module File::Pid. Two ways of installing it depending on the distribution you are running.

On Debian-based distros

sudo aptitude install libfile-pid-perl

Others*

*verify make and perl are also installed before running it

perl -MCPAN -e 'install File::Pid'

Use the script

sudo service yatse (start|stop|status)

Start the script on starting (you want it!)

update-rc.d yatse defaults 99

About

This script allow you to wake up your raspberry pi kodi using a yatse remote

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published