[mythtv] Ticket #11520: Active EIT scanning will stop working if program not found in PAT

René Bühlmann buehlmann at gmx.ch
Tue Aug 20 21:13:17 UTC 2013

On 08/20/2013 10:42 PM, Torbjörn Jansson wrote:
>> Subject: Re: [mythtv] Ticket #11520: Active EIT scanning will stop
>> working if program not found in PAT
>> I'm running into this bug fairly regularly.  I have one ATSC channel
>> that is a little weak and under certain atmospheric conditions will
>> fail
>> to tune causing the EIT scan to stop.  I'm planning on adding a
>> separate
>> antenna and card to improve the reliability of that channel.
>> This may become more of an issue to more people in a few months when
>> snow and rain cause some of the weaker signals to drop out from time to
>> time, and is something that I'd think developers would want to fix
>> before 0.27 is released.
>> Has anyone looked into this problem?  If not, I'll try to find a
>> solution.
>> Terry
> I believe i'm seeing this problem too on my mythtv dev box.
> There is no recordings or any other activity on it.
> Only thing it is doing is eit scanning.
> After a while it stops and then it is permanently stuck.
> I checked my log files and the database and there have not been any eit
> related activity for 2 days.
> I don’t believe I have any reception problems.
> All I have to do is to stop and restart the backend and then most of the
> time eit scanning will work for a while.
> I got some logs with -v eit if someone is interested.
> There was no "program not found in pat" error.
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-dev
I once had the same problem (DVB-C in my case). After some debugging I 
could not find a root cause but a workaround for it:

In mythtv/libs/libmythtv/tv_rec.cpp

i changed every occurrence of
eitScanStartTime = eitScanStartTime.addYears(1);
eitScanStartTime = eitScanStartTime.addDays(1);

I also did some hacks that only one transponder gets scanned for EIT as 
our provider sends the EIT for all channels on one transponder.

After that, the lockup never occurred again.

The above is only a workaround and not a fix at all but hopefully might 
lead some else in the right direction.

More information about the mythtv-dev mailing list