Trying to make a script to start slideshow
#1
i want a slideshow to automatically come up on bootup, so i need a script that does the slideshow and i'll add it to autoexec.py

here's what i tried:
Quote:import xbmc
xbmc.executebuiltin('xbmc.slideshow(f:\\media\\skins\\localpics )')

but it doesn't do anything. i can start a slideshow manually from my pictures no problem.
Reply
#2
you know pushing the white button in myscripts will give you python errors.

can't relly see whats wrong
try changing ' to " ?

xbmc.executebuiltin("xbmc.slideshow(e:\\pictures)")
Reply
#3
you have a space at the end of your path.

if removing that doesn't work, try adding \\ at the end.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#4
thanks. removing the space and adding the \\ did the trick
Quote:import xbmc
xbmc.executebuiltin('xbmc.slideshow(f:\\media\\skins\\localpics\\Wink')
Reply
#5
(thor918 @ aug. 16 2005,21:48 Wrote:you know pushing the white button in myscripts will give you python errors.
nope, dunno. and not even sure what you mean.
Reply
#6
push the white button on your controller
when
you are in the window where you can execute python scripts.
if you do that you will get a python debug logg.
any errors are displayed there
Reply
#7
can you add music to it too, please?
so i can start the script, then the slideshow and predefined music (pls or folder) starts.
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply
#8
there's a startup_playlist.py script that i downloaded, it does the music. it's on the script website.
Reply

Logout Mark Read Team Forum Stats Members Help
Trying to make a script to start slideshow0