How to set background image
#1
Hi!

I'd like to implement a dynamic desktop background image feature like https://github.com/novoid/set_desktop_ba..._to_season for my OpenElec/Kodi RaspPi2. I guess that I will be the only one using it. So I'd rather not start coding an add-on for it.

For this, I need to set (and reload?) the desktop background image in the console (via a cronjob; preferred method to me) or via Python (in an Add-on I have to start coding).

Something like:

Code:
set-desktop-background.sh /home/kodi/images/background.jpeg
OR
Code:
kodi.setDesktop('/home/kodi/images/background.jpeg')

Can someone tell me if and how this can be done? Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
How to set background image0