2011-06-01, 15:15
Quote:Jason102: Here's a full debug log http://pastebin.com/u86Ut0N1 let me if there's anything else I can do to help. And thanks for looking into it.
Heh, I knew this code would come back to bite me in the ass. I wrote some crazy code to try and mount SMB drives when the file wasn't available. It was written primarily for Eden which doesn't allow Python scripts to access SMB files directly, making my video parsing code useless. So, yea...I guess I need to revisit that code. In the mean-time, if you do a "clean library" I believe it will remove the missing video file that you have and resolve the issue.
Quote:Is there any way to scroll through the epg by page? I'm used to using the ch+ and ch- buttons to scroll a page at a time on tivo and cable boxes.
Page up and page down are good ideas, but I can't use the ch+ or ch- buttons since those are just the arrow keys which are used to navigate the EPG. I've though about doing an entire key configuration utility at some point...maybe I'll throw that one in there.
Quote:pseudotv freezes occasionally and is sluggish at times
Quote:freeze condition every 5 seconds
Ok, there are a couple of different things that can cause freezing, and both are related to the background updating. Get the latest stable-pre and set channel updating to something other than Automatic to disable the background thread.
The first cause is that the JSON call is preventing key strokes from being used. I can't prevent this. The symptom will be that the EPG and any other controls don't respond as expected. To help prevent the issue, turning on the XBMC webserver should help quite a bit. mwkurt says that it doesn't help in his case, but it definitely helped on my system.
The second cause is that during said JSON calls it appears that XBMC doesn't buffer video. Since XBMC buffers about 20 seconds (I believe) worth of video and a JSON call can take up to about 15 seconds, you may run into a buffering issue if you use a networked drive, especially on wifi. The symptom of this will be pausing and buffering video, not EPG slowness.
Another possibility is that the background thread is just taking up too much processor usage. If you're using a slower machine that barely plays video without skipping, the background thread may just push it over the top.
I'm looking into fixing at least the first issue. In the mean time, disable the threading.