How to map Picture section remote buttons? - 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: How to map Picture section remote buttons? (/showthread.php?tid=123108) |
How to map Picture section remote buttons? - dke1 - 2012-02-16 Hi, There are sections for both <MyVideoFiles> and <MyMusicFiles> in remote and keyboard.xml However there's nothing specified about pictures. I've tried to make the "play" button trigger random slideshow in current folder instead of just opening the selected picture. I tried this: <MyPictureFiles><remote><play>RecursiveSlideShow()</play></remote></MyPictureFiles> Didn't work. I've checked the faq and can't find any information on it, any ideas? - jhsrennie - 2012-02-17 You want something like: Code: <keymap> The SlideShow and RecursiveSlideShow functions require a directory as the first argument. I've just tried using ".", but this doesn't mean the directory currently being listed. I think it always gives you the top level picture directory i.e. all sources. I don't know how you would pass the "current" directory. JR - dke1 - 2012-02-18 Thanks! But passing the current directly is what the "slideshow" button does, the "R .Slideshow includes subdirs so in theory if i can find the button in my skin maybe i can use the call it makes? I'll play around with it, thanks for the heads up! |