[mythtv] Re: PATCH: mythfilldatabase v1.43 -- arbitrary end times

Isaac Richards ijr at po.cwru.edu
Mon Mar 3 14:46:28 EST 2003


On Monday 03 March 2003 02:26 pm, Andy Davidoff wrote:
> Yes, but at some point we will be submitting data for the furthest
> day in the future for which we are retrieving listings.  At that point,
> we will have to insert records for which we do not know the endtimes.
> When we run mythfilldatabase again a day later, we'll need to retrieve
> those records as we'll be scanning the next day in the future, and will
> then be capable of applying the endtimes to the records (1 per channel)
> that we left unfinished in the DB the day before.
>
> ...or am I missing something?

It always redownloads the next day's worth of data, just to check to make sure 
there haven't been any changes in the schedule.  So, it can always fill in 
the endtimes then (one db hit to look up the next day's starting program per 
channel), and just assign an endtime of midnight to the unknown shows for the 
furthest day from now.  Missing endtimes further away than one day from now 
don't hurt anything, as the scheduler always goes through and re-schedules 
things once a day.

Isaac



More information about the mythtv-dev mailing list