[mythtv-users] New York PBS WNET channel 13 pid mess

Michael T. Dean mtdean at thirdcontact.com
Sat Jun 21 11:19:49 UTC 2014


On 06/21/2014 02:29 AM, Tom Dexter wrote:
> On Sat, Jun 21, 2014 at 2:03 AM, Tom Dexter wrote:
>
> Here's a little more on those channels before and after the rescan:
>
> select chanid, channum, sourceid, callsign, xmltvid, atsc_major_chan,
> atsc_minor_chan, freqid from channel where channum like '13%'
> +--------+---------+----------+----------+---------+-----------------+-----------------+--------+
> | chanid | channum | sourceid | callsign | xmltvid | atsc_major_chan |
> atsc_minor_chan | freqid |
> +--------+---------+----------+----------+---------+-----------------+-----------------+--------+
> |   1131 | 13.1    |        1 | WNET-HD  | 26182   |              13 |
>                1 | 13     |
> |   1132 | 13.2    |        1 | WNET-SD  | 31780   |              13 |
>                2 | 13     |
> |   1133 | 13.3    |        1 | WNET-13  | 44667   |              13 |
>                3 | 13     |
> +--------+---------+----------+----------+---------+-----------------+-----------------+--------+
>
> select chanid, channum, sourceid, callsign, xmltvid, atsc_major_chan,
> atsc_minor_chan, freqid from channel where channum like '13%'
> +--------+---------+----------+----------+---------+-----------------+-----------------+--------+
> | chanid | channum | sourceid | callsign | xmltvid | atsc_major_chan |
> atsc_minor_chan | freqid |
> +--------+---------+----------+----------+---------+-----------------+-----------------+--------+
> |   1132 | 13.1    |        1 | WNET-HD  | 31780   |              13 |
>                1 | 13     |
> |   1133 | 13.2    |        1 | KIDS     | 44667   |              13 |
>                2 | 13     |
> |   1131 | 13.3    |        1 | V-Me     | 26182   |              13 |
>                3 | 13     |
> +--------+---------+----------+----------+---------+-----------------+-----------------+--------+
>
> Now that I've thought about this a bit more, I'm tempted to try and
> actaully juggle the chanids back to what they were (with the backend
> stopped).  I know that'll take a little jumping though hoops because
> it's the primary key (changing things to temporary unused ids etc),
> but it occurred to me that things like oldrecorded still have the
> original ids...that is where 1131=13.1, and I don't want stuff
> happening like re-runs recording etc.  For now I have all rules for
> this channel deleted anyway.
>
> I'd like to understand exactly what happened there in any case.  What
> does the channel scan use to find an existing channel based on a
> specific multi-plex within that transport?  The freqid and mplexid etc
> are all the same.
>
> What an ugly fricking mess.

Do not change your channel ID's.  They are MythTV-internal, irrelevant, 
and (most-importantly) not-user-editable values.

Just fix your XMLTV ID's.  In mythtv-setup channel editor it's the 2nd 
page or so.

Oh, and rescanning channels and mythtv-setup (with or without 
--do-channel-updates (which you should really never use) and/or 
--only-update-channels) will never change XMLTV ID's.  So, the /only/ 
way (and the designed way) to change XMLTV ID is to edit it manually in 
mythtv-setup or MythWeb channel editor.

Mike


More information about the mythtv-users mailing list