[mythtv-commits] Ticket #13472: Channel Scan improvements

MythTV noreply at mythtv.org
Tue Nov 12 13:59:57 UTC 2019


#13472: Channel Scan improvements
--------------------------------------+-------------------------------
 Reporter:  Klaas de Waal             |          Owner:  Klaas de Waal
     Type:  Developer Task            |         Status:  assigned
 Priority:  minor                     |      Milestone:  needs_triage
Component:  MythTV - Channel Scanner  |        Version:  Master Head
 Severity:  medium                    |     Resolution:
 Keywords:                            |  Ticket locked:  0
--------------------------------------+-------------------------------

Comment (by Klaas de Waal <kdewaal@…>):

 In [changeset:"be306250bdfe5b5a01ae7d3d9fcf7ed111d811be/mythtv"
 be306250bd/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="be306250bdfe5b5a01ae7d3d9fcf7ed111d811be"
 Suggested channel number in case of conflicts

 When there are after a channel scan duplicate channel numbers
 a suggested channel number is presented to the user.
 The algorithm to create this number is now slightly changed.
 For ATSC the algorithm is not changed.
 For DVB the sequence is now:
 - Try the existing channel number
 - Try the service ID
 - If there is a Frequency ID (channel) try frequency ID - service ID
 - Try Service ID - Network ID
 - Try Service ID - Transport ID
 - Find an unused channel number.
 This has the following advantages:
 - Duplicate channels are now in the Channel Editor sorting adjacent
 to the original channel. This makes it easy to select which one to keep.
 - The unused channel numbers are kept unused as long as possible;
 allocating a channel to an unused channel number can cause another
 duplicate later in the scanning process.
 Note that this problem happens in practice only when scanning
 satellites; usually the service ID, which is used as channel number
 when there is no Logical Channel Number available, is unique.

 Refs #13472
 }}}

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


More information about the mythtv-commits mailing list