Originally Posted by
judge
Thanks Huevos, any thread/post you can point me to in using CHID from different providers in an ABM custom file?
Like this although I'm not sure if it's py3 compatible
Code:
channels_to_add_by_id = {
1701: 855, # Sky Sports Main Event HD
4035: 409, # Sky Sports News HD
}
# 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]