[mythtv-commits] mythtv commit: r26177 by robertm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Sep 9 00:03:10 UTC 2010

      Author: robertm
        Date: 2010-09-09 00:03:10 +0000 (Thu, 09 Sep 2010)
New Revision: 26177
   Changeset: http://svn.mythtv.org/trac/changeset/26177


Channel Scanner:  Fix for QAM/SCTE/OpenCable scanning.  A full scan of Cable in the US/Canada should now produce expected channel numbering on a clean database without conflicts.

Previously, the subchannel was being used as the uniqueness identifier.  So by definition, 53-1 and 54-1 and 55-1 were all in conflict, as the subchannel was all the info it had to compare.

The fix is twofold:  First, switch to using channum as the "uniqueness" identifier for MPEG, SCTE, and OpenCable channels.  Unfortunately, these channels weren't being assigned a channum in the channel scanner itself, so when one of these types is present, generate a channum based on frequency identifier (what most US folks consider "physical" channel) and serviceid (what most of us consider "subchannel).  This basically produces channels that are consistent with how every television in the relevant markets works, and should not hurt the scanning/channel naming conventions of any other locale at the same time.  Since MPEG channels are the lowest common denominator and mostly only present on engineering/testing/non-full-fledged channels elsewhere, this channel naming scheme appears safe.

Fixes #7838.  Almost certainly fixes #8078 (that, or one of the other fixes from last night should have).  Refs #7284 (needs a retest after the IsConflicting fixes last night).



More information about the mythtv-commits mailing list