[mythtv] Channel changing Bugs...
Andy Davidoff
dert at pobox.com
Wed Apr 9 20:18:26 EDT 2003
This on my TODO list. If someone else submits a patch, I'll remove it.
Otherwise, I will submit a patch eventually.
On a related subject, what is the status of the TIMESTAMP->DATETIME patch?
On Apr 09, at 15:56, Chris Palmer encoded a 2.2K recording:
> I don't see why a chanid has to be based on a channel number. It should
> simply be UNIQUE. I don't change channels based on the chanid. I don't
> view the program guide based on the chanid. The database can keep
> things organized using an AUTOINCREMENT field for the chanid. The only
> additional design overhead is having to query the db for the last chanid
> just after you do an insert, so you can know the chanid to use for other
> inserts into other tables.
>
> Then, you wouldn't simply be able to construct a chanid based on the known
> source and channel number... you'd actually have to query the database
> to get the chanid, but that's ok. source and channel number should be an
> indexed key pair, making the queries fast.
More information about the mythtv-dev
mailing list