2016-01-01, 12:49
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:
OR
Can someone tell me if and how this can be done? Thanks!
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
Code:
kodi.setDesktop('/home/kodi/images/background.jpeg')
Can someone tell me if and how this can be done? Thanks!