Kodi Community Forum
Xbmc stops slideshow after playing file - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+--- Thread: Xbmc stops slideshow after playing file (/showthread.php?tid=10136)



- Xor - 2005-02-22

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?