Listcontrol limits?
#1
i'm trying to write a script that will show directory information. when there are a large amount of items (somewhere > 150, < 400) the script freezes. i'm using the xbmcgui.listcontrol class to display the directory list. does anyone know what the limitations of this class are - or have any suggestions for workarounds?
Reply
#2
i know that python allocate memorie with a fixed amount of 'elementary' memorie (sorry for the explanation, my english is not as good as i wished )
i think memories are allocated by 250bytes (or kbytes ) steps
i don't know if there is a link... but i hope this could give you a way to find the reason of your problem...

maybe you can give us some of your code to check what could be wrong
Reply
#3
i've determined that it isn't the controllist.

what i'm trying is to view a directory listing on an ftp site....

when i have the ftp setup...

i give it a ftp.retrlines('list",othercmd)

othercmd is just to store the output into a list.... it seems to get about 110 000 bytes downloaded (or approximately 380 items) into it before it hangs.

maybe it is something to do with the memory?
Reply
#4
i got it to work another way - i changed the "othercmd" part to filelist.append

seems to work now.
Reply
#5
nice ! Wink
Reply

Logout Mark Read Team Forum Stats Members Help
Listcontrol limits?0