[mythtv] [mythtv-commits] Ticket #4339: Channel lock error message even though channel is tuned and displaying fine.

Bill Cizek cizek at rcn.com
Thu Jan 31 22:20:30 UTC 2008


> On 1/30/08, Matt Doran <matt.doran at papercut.com> wrote:
>   
>> Mark Buechler wrote:
>>     
>>> Isn't there a configurable timeout which governs this? The only time I
>>> get this is when I change the channel and within a few second "Jump to
>>> Program" to a recorded program.
>>>       
>> There is, but as I said in the issue comment it seems to have no
>> effect.  It only happens upon entering LiveTV, and it will even appear
>> after the TV has started showing TV.
>>
>> So it seems that the merge of the multi-rec branch caused some issues in
>> this area.
>>     
>
> I've been getting this problem in SVN for a while now, way before
> multi-rec was merged. It only happens when initially entering live TV
> and doesn't occur when changing channels. Sometimes it will even
> appear a few seconds after the channel starts "playing".
When I first looked into this problem it was around SVN 15000, and I 
found that the channel-lock message from the backend to the frontend was 
getting lost.

More specifically:

The backend was running the signal monitor and sending the appropriate 
messages to the frontend, but the frontend wasn't ready to receive them 
and so it ignored them.  Eventually the backend signal monitor finished 
running.

At some point later, the frontend started it's lock timer;  this timer 
could never be satisfied since the backend was done sending lock status 
messages.  Eventually the timeout occurs and the message pops up on the 
screen.  Changing the timeout doesn't help because the messages will 
never get there (they were already sent).

The change I made in ticket #4339 added a variable to cache the lock 
status so we know if the lock message has been received already.  Even 
with my fix there is something weird going on: the channel and program 
info fields of the OSD are blank.  I'm not sure what's up with this but 
it's less annoying then the "You should have received a lock by now" 
message.

Hope this helps,
Bill


More information about the mythtv-dev mailing list