script to launch slideshow - 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) +---- Forum: Picture Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=150) +---- Thread: script to launch slideshow (/showthread.php?tid=178498) |
script to launch slideshow - ljaxor - 2013-11-20 Hi guys, I would like to create a script (seems quicker to run rather than a plugin) in order to launch picture slideshow based on keyword (matching my picture). I have a file including the path of all my pictures : /mnt/nas/Photo/19xx/1997/2 Emilie 6 mois/Emilie 6 mois (136).jpg /mnt/nas/Photo/19xx/1997/2 Emilie 6 mois/Emilie 6 mois (137).jpg ... The idea is to enter keywords, to browse my file, build a list of picture, launch slideshow. ;-) I would like to either select keyword from a list or to enter it via keyboard. I ran my first script from http://wiki.xbmc.org/index.php?title=HOW-TO_write_Python_Scripts_for_XBMC I saw how to use virtual keyboard. Now, I 'm stuck trying to call a build in function : SlideShow(dir [,recursive, [not]random]) http://wiki.xbmc.org/index.php?title=List_of_Built_In_Functions I don't understand how I could call this function. OK, i'm full newbie in python.;-) Any idea ? Thanks in advance. Laurent. |