2015-11-06, 05:23
I have written an addon that reads an FTP fed directory of images, videos. I am using my addon to check for new files in the directory, pick up new media and display via the builtin slideshow command.
Within the media directory I have a config file that contains the required transition period for images.
All works great except I cannot work out how to change the staytime of the slideshow. I have read.. a lot of stuff and there doesn't seem to be a way to change it from the python code.
I am hoping someone will have a suggestion otherwise I will be looking at doing the following:
1. Looking at recompiling Kodi. I am trying to avoid this if I can.
2. Some sort of restart sequence and create a new guisettings.xml or appliance.xml
3. JSON doensn't have anything in it to do with the staytime.
Not sure actually, any help would be appreciated.
Within the media directory I have a config file that contains the required transition period for images.
All works great except I cannot work out how to change the staytime of the slideshow. I have read.. a lot of stuff and there doesn't seem to be a way to change it from the python code.
I am hoping someone will have a suggestion otherwise I will be looking at doing the following:
1. Looking at recompiling Kodi. I am trying to avoid this if I can.
2. Some sort of restart sequence and create a new guisettings.xml or appliance.xml
3. JSON doensn't have anything in it to do with the staytime.
Not sure actually, any help would be appreciated.