2014-12-26, 15:11
I have setup one of my rpi as a digital frame running openelec. I'm using the following autoexec.py python script to start the slideshow on boot. It doesn't seem to be random but its a start
What I would like to be able to do is turn the screen off say between 10pm and 7am. I'm guessing a cron job might do the trick but I'm at a loss of how to code it. Any help would be great.
I think I can fix the random issue with
Code:
import xbmc
xbmc.executebuiltin("SlideShow(/storage/pictures/)")
What I would like to be able to do is turn the screen off say between 10pm and 7am. I'm guessing a cron job might do the trick but I'm at a loss of how to code it. Any help would be great.
I think I can fix the random issue with
Code:
import xbmc
xbmc.executebuiltin("SlideShow(/storage/pictures/,recursive,random")