[mythtv] Missed recordings caused by EIT guide update

John Pilkington johnpilk222 at gmail.com
Wed Aug 28 12:05:55 UTC 2019


On 23/08/2019 17:07, David Engel wrote:
> On Fri, Aug 23, 2019 at 05:31:27PM +0200, Klaas de Waal wrote:
>> In a system that uses EIT for the guide data, if you schedule a single
>> recording and the start time does later on change even as little as
>> one minute then the entry will be shown in the "Upcoming Recordings"
>> as "Not listed" and it will not be recorded.
> 
> This is why single recording rules are discouraged, especialy for
> users with unreliable or changing guide data.
> 
>> This is something that I would like to fix.
>>
>> I am familiar with the EIT guide update code in programdata.cpp; I
>> have the chanid, the original start date/time and the new start
>> date/time of the program to be updated. I am not familiar with the
>> scheduler code.
> 
> The current schedule can be retrieved by calling
> Scheduler::GetAllPending().
> 
>> As I understand it the chanid and the start date/time does uniquely
>> identify a recording and thus also a scheduled recording.
> 
> The manualid needs to be considered too.
> 
>> What needs to be done is then:
>> - check if a program to be updated is to be recorded (based on chanid
>> and start date/time)
>> - if it is, update the start date/time.
>>
>> I would appreciate comments about this and if possible hints on where
>> and how this could be implemented in an efficient manner.
> 
> If you do anything for EIT, you should likely handle it for
> mythfilldatabase cases too.
> 
> David
> 
I have just seen an example of this - not, of course, for the first 
time.  What usually works, in "Upcoming recordings" is to hit "o"  to 
show where it is now and then "r" to record that and "d" to cancel the 
original.  But I don't know how that would be coded.

John P


More information about the mythtv-dev mailing list