2013-12-28, 00:40
Tbh, I just want to check there's no way I can do this...
I've been trying to access the lists produced by the various mynav files, but always get an access violation error. All I'm trying to do (initially) is to get how many items are in the list with the following code:
Yes, I know there are other ways to get the number of items but that's just an initial test to get access to the list. Am I right that this just isn't possible?
I've been trying to access the lists produced by the various mynav files, but always get an access violation error. All I'm trying to do (initially) is to get how many items are in the list with the following code:
Code:
self.window = xbmcgui.getCurrentWindowId()
list = xbmcgui.Window(self.window).getControl(50)
log("Number of items: " + str(list.size() ))
Yes, I know there are other ways to get the number of items but that's just an initial test to get access to the list. Am I right that this just isn't possible?