[mythtv] scheduling, starttime accuracy

Janne Grunau janne-mythtv at grunau.be
Thu Feb 12 17:27:47 UTC 2009


On Thursday 12 February 2009 17:51:41 David Engel wrote:
> On Thu, Feb 12, 2009 at 01:02:23AM -0500, Daniel Kristjansson wrote:
> > "recstarttime" is what is used for the filename, mucking with this
> > will cause problems as it needs to be artificially incremented in
> > some cases until there is no conflict in file naming. I don't know
> > if fixing
>
> Why we haven't added an id column to the recorded table and used it
> to uniquely identify recordings?  If we was used a unique id in the
> filename, we wouldn't have to worry about starttime duplication.  It
> would also probably speed up table accesses where we currently use
> chanid/starttime instead.

It's somewhere on my todo list. Mainly to save space in recordedseek.
4 byte IDs would compared to chanid/starttime save 6 bytes per entry 
(85MiB for my database).  OTOH I thinking if we shouldn't just save the 
binary representation of the seektable. That would save another 4 byte 
per entry.

Janne



More information about the mythtv-dev mailing list