Kodi Community Forum
Beginners Problems - 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: Beginners Problems (/showthread.php?tid=124166)



Beginners Problems - SciTek - 2012-02-28

Hi out there..

After hours of trying and figureing out how everything's working, I gave up.
Can anybody tell/explain me, how that works? I'm trying to write an addon, which gets a Json-List from web and it should be display in xbmc.
Currently, I've done something like:
imported ness. libs
fetched json-list, parsed and via print I got an array. But how can I display each entry to the xbmc-screen?
I tried it with xbmcgui.ListItem(). As I understood, I have to create a List-Object and add each Item into it, right? I tried it with addDirectoryItem() but I have no idea, what exactly all those parameters are for.
Are there any good FAQs, Dev-Docs or stuff and EASY understandable Examples for Xbmc Eden or compatible? Like:

win = OpenWindow("Title") // Open's a Window with "Title"
btn = Button("Click", 0, 0, 120,20) // Displays a Button at PosX=0, PosY=0, Width = 120, Height = 20

Thanks for you support!


- jmarshall - 2012-02-28

See the stickies in the forum I've moved your post in. In particular, check out this:

http://code.google.com/p/xbmc-gpodder-integration/downloads/list

Cheers,
Jonathan