[mythtv-commits] Ticket #13432: mythtv-setup - second run of channel scan results in duplicate channels

MythTV noreply at mythtv.org
Fri Mar 22 09:19:11 UTC 2019


#13432: mythtv-setup - second run of channel scan results in duplicate channels
--------------------------------------+-------------------------------
 Reporter:  Mike Bibbings             |          Owner:  Klaas de Waal
     Type:  Bug Report - General      |         Status:  closed
 Priority:  minor                     |      Milestone:  needs_triage
Component:  MythTV - Channel Scanner  |        Version:  Master Head
 Severity:  medium                    |     Resolution:  fixed
 Keywords:                            |  Ticket locked:  0
--------------------------------------+-------------------------------
Changes (by Klaas de Waal <kdewaal@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"b8141c84cba8fe95c85cd446acd6bf2f2e31d1e9/mythtv"
 b8141c84cb/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="b8141c84cba8fe95c85cd446acd6bf2f2e31d1e9"
 Existing multiplexes not recognized with new DVB-T2 "Full Scan".

 Doing a "Full Scan" with mythtv-setup for the first time the
 channels are added and have the correct channel number.
 The second run of "Full Scan" finds the same channels again
 but sees them as new channels and they get the service ID number
 because the correct channel number is already in use.
 The third run gives conflicts on insertion because both
 the correct channelnumber and the service id are already in use.

 This problem is caused by the implementation of the
 preliminary DVB-T2 support that has been added some time ago.
 This creates some confusion whether a multiplex uses
 the DVB-T or the DVB-T2 modulation system.
 The strict comparison on the modulation system in
 DTVMultiplex::IsEqual even for the "fuzzy" type  of
 comparison makes that a new multiplex is not recognized
 as already existing.

 The solution for now is to treat the DVB-T and DVB-T modulation
 systems as compatible when the "fuzzy" type of comparison is done.

 Tickets #13014 and #12638 will comprise a more complete
 implementation of DVB-T2 support.

 Fixes #13432
 }}}

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13432#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list