Ok for testing I've tried via add by ID
Code:
<custommix>
<inserts>
</inserts>
<streams>
</streams>
<deletes>
<!-- Delete channels that have been swapped, to remove duplication -->
</deletes>
<hacks>
<![CDATA[
rename = {
}
channels_to_add_by_id = {
6240: 118, # ITV 2
6260: 119, # ITV 3
6272: 120, # ITV 4
}
broken_TSIDS = [
]
# Channel renames
for service in sorted(customised["video"].keys()):
if "channel_id" in customised["video"][service] and customised["video"][service]["channel_id"] in rename:
customised["video"][service]["interactive_name"] = rename[customised["video"][service]["channel_id"]]
# Add channels by ID
for service in sorted(customised["video"].keys()):
if "channel_id" in customised["video"][service] and customised["video"][service]["channel_id"] in channels_to_add_by_id:
customised["video"][channels_to_add_by_id[customised["video"][service]["channel_id"]]] = customised["video"][service]
del customised["video"][service]
# Remove encrypted services from certain transport streams (will still be in lamedb)
for service in sorted(customised["video"].keys()):
if customised["video"][service]["transport_stream_id"] in broken_TSIDS and customised["video"][service]["free_ca"] != 0:
del customised["video"][service]
]]>
</hacks>
<instructions>
<![CDATA[
]]>
</instructions>
</custommix>
This was using custom region with channel swap yes.
I get no channels on 118 to 120 but the HD veriants on 207, 208 and 225 maybe someone can solve it.
Maybe just remove the swaps from the provider file till someone can solve it.