PDA

View Full Version : [ABM-MISC] Remove transponder with Hacks in custommix



dsayers
03-04-17, 21:11
Hi I swap Sky HD channels with VM HD via a custommix
https://github.com/davesayers2014/AutoBouquetsMaker/blob/master/AutoBouquetsMaker/custom/sat_282_sky_uk_CustomMix.xml

with the recent issues here http://www.world-of-satellite.com/showthread.php?56140-Eurosport Im thinking of removing transponders the same as done in the lastes sky uk providers file
https://github.com/oe-alliance/AutoBouquetsMaker/commit/088eaf4938ffb3f2b459e7e0df345e88254292ff but im not sure how to change it to use in custommix.

At the moment I dont plan on doing this but will if/when things change so it would be good to know how to do it thanks.

dsayers
04-04-17, 18:07
Ok tried



for service in sorted(customised["video"].keys()):
if service["transport_stream_id"] == 2023:
while service["number"] in LCNs_in_use:
LCNs_in_use.remove(service["number"])
skip = True



And get



14:12:06.1909 { D } Traceback (most recent call last):
14:12:06.1912 { D } File "/usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker/scanner/main.py", line 508, in doBuildIndex
14:12:06.1917 { D } File "/usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker/scanner/manager.py", line 168, in save
14:12:06.1923 { D } File "/usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker/scanner/tools.py", line 197, in customMix
14:12:06.1927 { D } File "<string>", line 57, in <module>
14:12:06.1934 { D } TypeError: 'int' object has no attribute '__getitem__'
14:12:06.1937 [ E ] python/python.cpp:209 call (PyObject_CallObject(<bound method AutoBouquetsMaker.doBuildIndex of <class 'Plugins.SystemPlugins.AutoBouquetsMaker.scanner.m ain.AutoBouquetsMaker'>>,()) failed)
]]>

dsayers
19-05-17, 09:42
Bump would love to not have to search every channel number to add delete

lincsat
19-05-17, 15:42
It's done differently in the latest Sky xml file in the Git M8

abu baniaz
19-05-17, 15:55
The hacks (including remove broken TSID) come into play when custom mode is enabled. At the moment, custom only applies to SD region.