Solved Playing root directory files only (slideshow) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174) +---- Thread: Solved Playing root directory files only (slideshow) (/showthread.php?tid=232721) |
Playing root directory files only (slideshow) - Thof - 2015-07-21 Hi all, I'm working with a small python background program and am trying to play a slideshow from a directory. This works great when using the Player.Open with directory parameter, but the player takes all files and subdirectories. This is unfortunately not the required behaviour. There is a possibility to add "recursive":false but this does not seem to do anything. Does anyone know how to fix this? I tried to create a playlist with only the files in the root folder, but unfortunately calling Player.Open with a playlistid that only contains pictures does not work... I'm using Kodi with the OSMC distribution on a Raspberry Pi B2. Thanks! RE: Playing root directory files only (slideshow) - axa88 - 2015-07-22 on windows recursive false works for me: {"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"path":"C:\\Users\\vehicles\\savage","random":false,"recursive":false}},"id":1} RE: Playing root directory files only (slideshow) - Thof - 2015-07-22 Cool, thanks, that works.... I was using "directory" and not "path", with the "path option it works! RE: Playing root directory files only (slideshow) - axa88 - 2015-07-23 i could see how that could be mistaken... |