Originally Posted by
Huevos
Have you not read the README.txt? You should not be using the custom LCN file for this. Custom LCN is a system file for allocating LCNs, not swapping channels around. Should be using CustomMix. As some providers write directly to the CustomLCN file using it like this should be discouraged.
Yes I read it, I obviously got the wrong end of the stick.
The first part of the README.txt says
Code:
CustomLCN
---------
CustomLCN allows channels to be moved around within one single provider. CustomLCN is
for providers that don't transmit logical channel numbers (e.g. Sky DE). Its purpose is
to insert logical channel numbers. The CustomLCN list can be complete or partial.
It doesn't have to be in any particular order but having it sequential will make it
easier to avoid making errors.
Each time ABM runs it makes an example CustomLCN xml file for each provider that is scanned,
e.g. 'EXAMPLE_hd_sat_freesat_CustomLCN.xml'. These files are archived in:
/usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker/custom
To make your own custom LCN file just delete 'EXAMPLE_' from the filename,
i.e. hd_sat_freesat_CustomLCN.xml. Configurations in the provider xml file, such as channel swap,
on-top, etc, are done after CustomLCN has been processed.
The following is how to edit the file. Just cut and paste the lines into the order you want.
DO NOT add any channels into more than one place in the list.
Also don't forget to include the ABM custom folder in your backups otherwise your newly
created file may be lost during image updates.
This is an example of the original 'EXAMPLE_" file:
<custom>
<include>yes</include>
<lcnlist>
<configuration lcn="101" channelnumber="101" description="BBC One Lon"></configuration>
<configuration lcn="102" channelnumber="102" description="BBC Two HD"></configuration>
<configuration lcn="103" channelnumber="103" description="ITV"></configuration>
<configuration lcn="104" channelnumber="104" description="Channel 4"></configuration>
<configuration lcn="105" channelnumber="105" description="Channel 5"></configuration>
<configuration lcn="106" channelnumber="106" description="BBC Three HD"></configuration>
<configuration lcn="107" channelnumber="107" description="BBC Four HD"></configuration>
<configuration lcn="108" channelnumber="108" description="BBC One HD"></configuration>
<configuration lcn="109" channelnumber="109" description="BBC Two Eng"></configuration>
<configuration lcn="110" channelnumber="110" description="BBC ALBA"></configuration>
This is how to swap channels.
If you want to swap ITV (103) with BBC Three HD (106) cut and paste both lines.
<custom>
<include>yes</include>
<lcnlist>
<configuration lcn="101" channelnumber="101" description="BBC One Lon"></configuration>
<configuration lcn="102" channelnumber="102" description="BBC Two HD"></configuration>
<configuration lcn="106" channelnumber="106" description="BBC Three HD"></configuration>
<configuration lcn="104" channelnumber="104" description="Channel 4"></configuration>
<configuration lcn="105" channelnumber="105" description="Channel 5"></configuration>
<configuration lcn="103" channelnumber="103" description="ITV"></configuration>
<configuration lcn="107" channelnumber="107" description="BBC Four HD"></configuration>
<configuration lcn="108" channelnumber="108" description="BBC One HD"></configuration>
<configuration lcn="109" channelnumber="109" description="BBC Two Eng"></configuration>
<configuration lcn="110" channelnumber="110" description="BBC ALBA"></configuration>
Now change the lcn numbers. lcn numbers should be in order to avoid errors!!
<custom>
<include>yes</include>
<lcnlist>
<configuration lcn="101" channelnumber="101" description="BBC One Lon"></configuration>
<configuration lcn="102" channelnumber="102" description="BBC Two HD"></configuration>
<configuration lcn="103" channelnumber="106" description="BBC Three HD"></configuration>
<configuration lcn="104" channelnumber="104" description="Channel 4"></configuration>
<configuration lcn="105" channelnumber="105" description="Channel 5"></configuration>
<configuration lcn="106" channelnumber="103" description="ITV"></configuration>
<configuration lcn="107" channelnumber="107" description="BBC Four HD"></configuration>
<configuration lcn="108" channelnumber="108" description="BBC One HD"></configuration>
<configuration lcn="109" channelnumber="109" description="BBC Two Eng"></configuration>
<configuration lcn="110" channelnumber="110" description="BBC ALBA"></configuration>
Removing channels.
Channel removal only applies to unsorted lists, i.e. non-LCN providers where the list has not been
sorted in any way. To remove a channel, just delete the line. NOTE: When <include>is set to 'yes',
all channels not configured in the custom xml will be added at the end of the main bouquet. This way
also new services from the provider will be added at the end of the channel list. Any new channels
will be shown in the ABM log.
Changing 'channel numbers'.
If you want your own numbering, edit the lcn numbers. lcn numbers should be in order to avoid errors!!
<custom>
<include>no</include>
<lcnlist>
<configuration lcn="1" channelnumber="101" description="BBC One Lon"></configuration>
<configuration lcn="2" channelnumber="102" description="BBC Two HD"></configuration>
<configuration lcn="3" channelnumber="103" description="ITV"></configuration>
<configuration lcn="4" channelnumber="104" description="Channel 4"></configuration>
<configuration lcn="5" channelnumber="105" description="Channel 5"></configuration>
<configuration lcn="6" channelnumber="106" description="BBC Three HD"></configuration>
<configuration lcn="7" channelnumber="107" description="BBC Four HD"></configuration>
<configuration lcn="8" channelnumber="108" description="BBC One HD"></configuration>
<configuration lcn="9" channelnumber="109" description="BBC Two Eng"></configuration>
<configuration lcn="10" channelnumber="110" description="BBC ALBA"></configuration>
Which I took to be telling me this is what I use to swap channels around.