[mythtv] Channel changing Bugs...
mdz at debian.org
Wed Apr 9 20:11:53 EDT 2003
On Wed, Apr 09, 2003 at 03:56:32PM -0700, Chris Palmer wrote:
> 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.
The current simple method has some useful benefits. For example, you can
throw away and regenerate the channel table and your scheduled recordings
are intact. It's also easily interpreted by visual inspection.
More information about the mythtv-dev