addDirectoryItem, simple script I can't understand. - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: addDirectoryItem, simple script I can't understand. (/showthread.php?tid=173877) |
addDirectoryItem, simple script I can't understand. - Regss - 2013-09-19 Hi, i write simple python script. When I click on button1 I want to display a button2. What I doing wrong? Code: xbmcgui.Dialog().ok('', sys.argv[2]) RE: addDirectoryItem, simple script I can't understand. - Roman_V_M - 2013-09-19 isFolder=False tells XBMC that this is a media file to be passed to a player. For your plugin to be launched recursively you need to use isFolder=True. RE: addDirectoryItem, simple script I can't understand. - Regss - 2013-09-19 Heh, Thanks a lot. |