Incorrect channel numbers in MythTV

We’ve had a HDHomeRun for a while now, and I’m very happy with it. One wart however was that Catherine was complaining that tuning for Go! didn’t work (an extra Win TV channel we get in this area). It was odd — it appeared in the channel guide, but recordings would end up recording ABC1 instead, and we couldn’t tune to the channel in the live TV interface either.

I fired up the channel editor in mythtv-setup, and the problem was actually pretty easy to solve… The channel scan had assigned channel number 2 to Go!, which is the same channel number as ABC1. It had also gotten the channel number for Win TV wrong, but we hadn’t noticed that because that wasn’t overlapping with another channel. The channel numbers seem arbitrary, given the database is also storing frequency and demultiplexing information, so the fix was as simple as just giving the various WIN channels the correct numbers (or I suspect any number that was unique) in mythtv-setup.