borick
2008-08-27, 03:52
Hi all,
I've been trying to create an updated youtube script which improves a few things, and uses the google api.
In addition, i like to show thumbnails for each of the streams. I like to use a list container so I can modify the placement of the labels to show additional information like rating, duration, etc when the video stream is selected.
I've pretty much implemented everything and it works ok on XBMC windows PC, but when I load it on XBOX I get various memory errors, video wont play / thumbnails wont refresh when new files are loaded, the list is cleared and new list items are created (the thumbnail picture stays the same sometimes even when image on disk changes!)
I'm wondering if anyone's had similar issues trying to use thumbnails in list containers, and changing those thumbnails.
Thanks
EDIT: I discovered the source of the memory problems. I had too much work being done in onInit method! Keep your onInit fast, it was my mistake.
I've been trying to create an updated youtube script which improves a few things, and uses the google api.
In addition, i like to show thumbnails for each of the streams. I like to use a list container so I can modify the placement of the labels to show additional information like rating, duration, etc when the video stream is selected.
I've pretty much implemented everything and it works ok on XBMC windows PC, but when I load it on XBOX I get various memory errors, video wont play / thumbnails wont refresh when new files are loaded, the list is cleared and new list items are created (the thumbnail picture stays the same sometimes even when image on disk changes!)
I'm wondering if anyone's had similar issues trying to use thumbnails in list containers, and changing those thumbnails.
Thanks
EDIT: I discovered the source of the memory problems. I had too much work being done in onInit method! Keep your onInit fast, it was my mistake.