Kodi Community Forum
ListItem use - 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: ListItem use (/showthread.php?tid=312722)



ListItem use - yarin.levy2 - 2017-04-19

Hello,

Can I create a ListItem which is NOT video/music/pictures?

My goal is to create a ListItem view of movies and then when an item is chosen to activate a window with gui.
Is it possible?

ListItem documentation:
http://mirrors.kodi.tv/docs/python-docs/16.x-jarvis/xbmcgui.html#ListItem

Thanks


RE: ListItem use - DarrenHill - 2017-04-19

Not a good example to use, given its a banned addon (wiki) here...


RE: ListItem use - Demonstratorz - 2017-04-20

Yes , you but what your saying is very vague in two ways, I'm assuming your listing your items through the native kodi GUI, so, when you add the directory, make the folder false, which turns it into an item and you'll have to create parameters for your addon to route it to a function that activates the window through activatewindow


RE: ListItem use - yarin.levy2 - 2017-04-20

(2017-04-20, 08:51)Demonstratorz Wrote: Yes , you but what your saying is very vague in two ways, I'm assuming your listing your items through the native kodi GUI, so, when you add the directory, make the folder false, which turns it into an item and you'll have to create parameters for your addon to route it to a function that activates the window through activatewindow


Thank you!