[mythtv] Missed recordings caused by EIT guide update

David Engel david at istwok.net
Fri Aug 23 16:07:12 UTC 2019


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
-- 
David Engel
david at istwok.net


More information about the mythtv-dev mailing list