canadave Wrote:Hmmm. Oddly, the uzgplugin.log file's timestamp is a few hours earlier than the uzg.log timestamp. It doesn't appear to have anything relating to my just-now-completed foray into the plugin (at 11:32pm my time). The uzg.log file does have info relating to that, so I'll post it here:
http://pastebin.com/bbbTKZ9Z
Line 1068 from that log would appear to be where the problem strikes, if I'm guessing:
20120117 23:31:57 - [108 MB] CRITICAL - progwindow.py - 198 - OnAction::unknow action (id=7). Do not know what to do
No issue in the BBC search. If you search you get results (or not) and just as any other list, if you press back there, you exit XOT. If you want to search again, just select the search channel again, or select refresh from the context menu.
canadave Wrote:Another bug (I think): was just browsing the Uitzendinggemist.nl shows, scrolled down a list of them, and it froze while trying to load the thumbnail image for one of the listings. I had to reboot. Here's the uzg.log:
http://pastebin.com/wDkybqdV
It also seems as though this problem only occurs with the "program addon" version of XOT-UZG. If I browse the same listing in the "video addon" version, it's fine.
It seems as though if I try to scroll down through the list while the script is trying to load images for the currently selected show in the list, the script is prone to freezing. It's as if it doesn't like anything to move while it's loading images. Would it be possible to prefetch those images as soon as a list of shows is displayed, rather than waiting for a show to be highlighted by the cursor and THEN going out and fetching the image?
I don't see anything about crashes in uzg.log, perhaps the XBMC log shows more details, but it was not caused by XOT.
The problem is that not all images are available if you have the list. In some cases the URL is fetched while updating the item and thus pre-fetching is impossible. The update only starts after a period of 0.5 seconds so scrolling a list continuously should not cause any updates. The update does not only get pictures but also fetches URL to play. Small detail: all (except 1) url loading was done using Cache, so those should be instant and not cause delays.
If you want you could try increasing the delay before updating. Its the value:
Code:
self.timerTimeOut = 0.5
In line 70 of channelgui.py. Change it to 1.0 or something but do not change the indentation of the code (it will break the Python script).