Scripting and slideshow
#1
2 xbmc slideshow control-via-script questions:

1) is it possible to toggle the random feature on/off via scripting?

2) need help on a method to stop the slideshow (without a user action).

assuming this type of slideshow start:
Quote:xbmc.executebuiltin('xbmc.recursiveslideshow(' + picture_dir + ')')
time.sleep(duration)

i want the slideshow to timeout so some player functions can run, but i am not having much luck terminating the slideshow.
Reply
#2
you'll have to activate another window or try:

response = xbmc.executehttpapi("sendkey(275)")

if you have a build older than june 18. you'll need the webserver running for the sendkey to work.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#3
Is there a good tutorial or simplistic script example for window control and control loops (such as to show one image and then swap it with another after a given time)? I have gone through several slideshow-like scripts, but the control flows have lost me. Huh
Reply

Logout Mark Read Team Forum Stats Members Help
Scripting and slideshow0