2006-06-12, 17:48
in ooba it takes some time downloading and parsing an url after you click a menu item.
i would like to display the text: "downloading..." and then later switch to "parsing...". i have implemented that, but it does not redraw. it is as-if xbmc only renders the screen when it is not actively running some python code. so in order to force a redraw i have tried xbmc.sleep(1) . and it does make a redraw, but it never continues after that line. i can still get onaction events, but when i exit (pressing "back") it still says "ooba (running)".
i think there is something wrong with xbmc.sleep ... does anybody have an alternative method of forcing a redraw?
i would like to display the text: "downloading..." and then later switch to "parsing...". i have implemented that, but it does not redraw. it is as-if xbmc only renders the screen when it is not actively running some python code. so in order to force a redraw i have tried xbmc.sleep(1) . and it does make a redraw, but it never continues after that line. i can still get onaction events, but when i exit (pressing "back") it still says "ooba (running)".
i think there is something wrong with xbmc.sleep ... does anybody have an alternative method of forcing a redraw?