Kodi Community Forum
problem when getting a list control from standard xbmc windows - 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: problem when getting a list control from standard xbmc windows (/showthread.php?tid=76051)



problem when getting a list control from standard xbmc windows - sagittar - 2010-06-22

my code is
Code:
itemlist = xbmcgui.Window(501).getControl(50)
the returned list is always empty.
the window with id 501 is the music navigation window(MyMusicSongs.xml)

i read the source code, seems the python wrapper returns the control with an empty list without copying the actual items from the gui control.

is there any other way can i get the items?