2013-03-08, 23:56
Hi Everyone,
I'm kind of new to this, so please bear with me.
I'm running OpenElec XBMC for Raspberry Pi and I want to have it automatically start the slideshow as soon as XBMC starts. I've figured that part out with the below script and added the autoexec.py file to the users directory.
import xbmc
xbmc.executebuiltin("SlideShow (smb://<IP ADDRESS>/images)")
This works successfully on our local network where all of our images are stored in a shared directory. XBMC Starts up, Loads the slideshow and the images display just as needed.
What I'd like to be able to do is have it where XBMC will refresh the directory at a certain interval, lets say every 5 minutes or so and have the slideshow update without having to stop and restart the slideshow. From time to time I'd like to be able to add new images to the network share and have them automatically display.
I found some info about this on this thread, but it's a script for running on an XBOX.
http://forum.xbmc.org/showthread.php?tid=20104
Does anyone know how I can add the correct coding to my autoexec.py file so that it will work like the above thread? I'm hoping it's just a newbie mistake I'm making.
Thanks in advance for your help.
I'm kind of new to this, so please bear with me.
I'm running OpenElec XBMC for Raspberry Pi and I want to have it automatically start the slideshow as soon as XBMC starts. I've figured that part out with the below script and added the autoexec.py file to the users directory.
import xbmc
xbmc.executebuiltin("SlideShow (smb://<IP ADDRESS>/images)")
This works successfully on our local network where all of our images are stored in a shared directory. XBMC Starts up, Loads the slideshow and the images display just as needed.
What I'd like to be able to do is have it where XBMC will refresh the directory at a certain interval, lets say every 5 minutes or so and have the slideshow update without having to stop and restart the slideshow. From time to time I'd like to be able to add new images to the network share and have them automatically display.
I found some info about this on this thread, but it's a script for running on an XBOX.
http://forum.xbmc.org/showthread.php?tid=20104
Does anyone know how I can add the correct coding to my autoexec.py file so that it will work like the above thread? I'm hoping it's just a newbie mistake I'm making.
Thanks in advance for your help.