[mythtv-users] Fwd: Re: channel4 hd has no eit - cross-eit

Stephen Worthington stephen_agent at jsw.gen.nz
Sun Sep 5 09:25:19 UTC 2021

On Sun, 5 Sep 2021 08:54:25 +0100, you wrote:

>mysql> select chanid,channum,sourceid,callsign,name from channel where
>> xmltvid='hd.channel4.com';
>> +--------+---------+----------+--------------+--------------+
>> | chanid | channum | sourceid | callsign     | name         |
>> +--------+---------+----------+--------------+--------------+
>> |  22200 | 21200   |        1 | Channel 4 HD | Channel 4 HD |
>> +--------+---------+----------+--------------+--------------+
>BTW is there any significance to the fact that chanid and channum are not
>the same? Should they be? What's the difference between the two?

Chanid is an internal database index number generated automatically by
the channel scanning process.  It is required to be unique.  Channum
is the channel number used by the user to change to a channel in live
TV or the guide.  There can be multiple channels with different chanid
values that have the same channum.  For example, you may get the same
channel in HD from a DVB-T2 source, in SD from DVB-T and also from a
satellite or cable service.  To distinguish between the different
channels with the same channum, the highest priority one will be used
first.  You can set priority in quite complex ways, but usually you
will have higher priority for the HD versions of channels, either by
setting the channel table priority entry or by giving the DVB-T2
source higher priority.

More information about the mythtv-users mailing list