Kodi Community Forum

Full Version: Xbmc stops slideshow after playing file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Huh code snippit:

plist = []
plist = getplaylist() # create list of files strip '.mp3'
while plist:
   nowplaying = plist[0]
   xbmc.player().play(path + nowplaying + ".mp3")
   while xbmc.player().isplaying(): pass
   plist.pop(0)

works fine but...
i want to run the standard slidewhow while this script is running but i have to restart it when the current song has finished. a playlist object might work but then i need code to create it 'on the fly'. any ideas?