<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Thanks Nick, I'll use the callsign and see how it goes. It still seems
odd that the chanid in the 'record' table doesn't appear anywhere else.<br>
Nick Morrott wrote:
<pre wrap="">On 23/02/2009, pslists <a class="moz-txt-link-rfc2396E" href="mailto:email@example.com"><firstname.lastname@example.org></a> wrote:
<pre wrap="">I have always been a little confused about the meaning and uses of chanid,
channum, callsign and name in the channels table, but now I am very
chanid = unique identifier for each channel - if you delete and rescan
for channels you will likely get a different chanid for the same
channel, so do not assume this will stay the same over time for a
channum = user specified 'nice' number for the channel - this is what
you see in the guide or enter on the remote to change channel in
callsign = this is what the scheduler uses to determine whether
stations available on different inputs carry the same programming.
When you rescan you should get (or manually set) the same callsign for
scheduling to continue working correctly, even if the chanid chages.
name = user specified 'nice' name for a particular channel
<pre wrap=""> I am building a MySQL only web interface to MythTV (see below for the
reason) and I cannot tie up the chanid in the record table with the chanid
in channels or programs. In record I get numbers like 1001 1002 1004 and in
the other places they are like 2001 2002 10384.
mythconverg.record stores the callsign of the channel in the 'station'
field - this should not change even if the chanid does (see above).
<pre wrap=""> Is there some structure the numbers or is there a cross reference I am
There can be some structure to the numbers, depending on what type of
TV service you are using, but I (others may disagree) would suggest
ignoring any meaning behind chanid and instead use the 'callsign'
field which is intended to be stable.