Chromecast backgrounds that change automatically on Raspberry Pi Kodi
- Connect to the raspberry via ssh
- Install php
apt-get php5-cli
- Go to user folder
cd /home/pi
- Download the .zip
wget https://github.com/lmeyer/kodi-chromecast-backgrounds/archive/master.zip --no-check-certificate
- Unpack it
unzip master.zip
- Rename the folder
mv kodi-chromecast-backgrounds-master/ kodi-chromecast-backgrounds
- Remove master.zip
rm master.zip
- Run the download script
php kodi-chromecast-backgrounds/download.php
- Run the change script
php kodi-chromecast-backgrounds/change.php
- Edit crontab
crontab -e
and add the following lines
0 5 * * 1 php /home/pi/kodi-chromecast-backgrounds/download.php
0 */2 * * * php /home/pi/kodi-chromecast-backgrounds/change.php
- Restart cron service
service cron restart
- Go to kodi configuration and change the theme background
- System > Settings > Appearance > Skin > Settings > Background Options
- Check Enable Custom Background
- Browse your file and chose
Home folder/kodi-chromecast-backgrounds/background.jpg
- Enjoy
Thanks to Deirdre Connolly for https://github.com/dconnolly/Chromecast-Backgrounds