Optional fuzzy mapping of channel names
When mapping services to channels we rely on exact matching of channel names.
This means that "Channel 5" does not merge with "Channel 5 HD" meaning that we have to merge them manually if we want the "preferred service video type" to work.
Additionally DVB-T and DVB-S sometimes use different names for the same channel, differing in case and spacing. So we have "Channel 5 +1", "Channel 5+1", "ONE" and "One", "5HD" and "5 HD".
So add a new checkbox to "map services" dialog to optionally ignore spacing and case and strip a trailing "HD" from the channel names for compares. This results in more services matches so all the following will merge in to one channel: "Channel 4+1", "Channel 4 +1", "Channel 4+1HD", "Channel 4+1 HD". The exact name chosen for the channel will depend on mapping order but it could be subsequently edited by the user if they have a preference for spacing.
channel: Allow optional fuzzy matching when merging services, fixes #4709
For historical reasons, our DVB-T and DVB-S have different names
for the same channels. They often differ in case and spacing.
So we have 'One' and 'ONE', '5+1HD' and '5 +1HD'.
So allow an optional fuzzy matching checkbox to ignore whitespace
and HD markers. This allows the channels to be merged. The
exact name chosen depends on the order of mapping, so if the
HD channel is mapped first then they would all merge in to this
name, but if a non-HD channel is the first one created then that
name is chosen. However the name could be subsequently modified
by the user if they desire.
Updated by Em Smith about 4 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset tvheadend|e6aba24a4fe3290b6b1fc51941547410517f29a7.