Kodi Community Forum
Start slideshow keyboard shortcut - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Start slideshow keyboard shortcut (/showthread.php?tid=95657)



Start slideshow keyboard shortcut - vasikgreif - 2011-03-01

Hi, this might be stupid question, but I didn't find an answer. Is there a keyboard shortcut to start pictures slideshow? I mean, I open an image, press some key and slideshow starts? Thanks


- jhsrennie - 2011-03-01

By default there isn't a key to do it, but I note from that there is a function:

SlideShow(dir [,recursive, [not]random])
Starts a slideshow of pictures in the folder dir. Optional parameters are "recursive", and "random" or "notrandom" parameters. The "recursive" parameter starts a recursive slideshow, adding images from sub-folders. The "random" and "notrandom" parameters override the Randomize setting found in the pictures media window

You could easily create a userdata keymapping to start the slideshow, but I think this has to be a predetermined directory. I'm not sure how you'd make it start the slideshow in whatever is the current folder. Possibly this would be doable with a Python script.

JR


- xbmc-user - 2012-01-04

Did you find an answer? I'm too looking for it!


- vasikgreif - 2012-01-04

I didn't find a keyboard shortcut, using JSON for this now.


- spiff - 2012-01-12

i'm not sure i follow, do you mean 'p'?


- xbmc-user - 2012-01-26

vasikgreif Wrote:I didn't find a keyboard shortcut, using JSON for this now.

How? Do you mind posting the code/script?

I was thinking of mapping a key in keymap.xml and call SlideShow(dir [,recursive, [not]random]) function. But, then I couldn't figure out how to get the "dir" of the selected folder!


RE: Start slideshow keyboard shortcut - rubpa - 2012-07-01

I would like a solution for this as well!


RE: Start slideshow keyboard shortcut - Robotica - 2012-07-02

Besides start, pause/resume/stop would be nice additions as well..

I am not sure about the current status of this feature to start the slideshow (see problem: http://forum.xbmc.org/showthread.php?tid=104362&pid=1138418#pid1138418) but I think VDRFAN (or JSHRennie) can tell more about the keymap.xml and Montelesse can tell some more about the JSON-API. What I found about JSON to start the slideshow, is this: http://forum.xbmc.org/showthread.php?tid=68263&pid=1111472#pid1111472

Maybe you can check how the picture DB addon or the artist slideshow addon handles this.



This forum uses Lukasz Tkacz MyBB addons.