PDA

View Full Version : [ABM-MISC] ABM custom LCN file



Peterj
12-10-14, 19:52
In next build (after build 55) ABM will have the option of making a custom LCN file.
Read the README.txt in /usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker/src/custom

bbbuk
12-10-14, 22:07
Thanks for letting us know.

Does this mean that I would be able to add Setanta Sports from RoI within either provider Sky UK or even better Sky UK ZZL?

Peterj
12-10-14, 22:20
It cannot mix channels from different providers.
You can make your own order of channels and custom channel numbers in the bouquet of that provider.
ABM is made to make a bouquet for a provider. That has not changed.

duoduo
13-10-14, 14:37
Hi Peter, will you be posting a tutorial (sticky) on how to do this shortly?

Peterj
13-10-14, 14:43
ABM is making an example file for each provider which is scanned by ABM, e.g. 'EXAMPLE_sat_freesat_CustomLCN.xml'.
Making your own custom LCN file just delete the 'EXAMPLE_' is the name of the file (sat_freesat_CustomLCN.xml).
This file will overwrite the ordering of channels ABM is doing normally in the MAIN bouquet.

How to change the file.
Just cut and past the line into the order you wants.
DO NOT use channels more then 1 time in the list!!

Don't forget to add the custom folder into the backup files.

example original:
<custom>
<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>

*Swap channels.*
If you want to swap ITV (103) with BBC Three HD (106) cut and past both lines.
<custom>
<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 must be in order!!
<custom>
<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>

*Remove channels.*
Removing channels, just delete the line.
NOTE: All channels not configured in the custom xml will be added at the end of the main bouquet.
This way also new services (channels) of the provider are added at the end of the main bouquet.

*Changing 'channel numbers'.*
If you wants your own numbering, edit the lcn numbers. lcn numbers must be in order!!
<custom>
<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>
NOTE: Be aware of correct sections in the provider xml.
e.g.
<sections>
<section number="101">Entertainment</section>
<section number="200">News and Sport</section>
<section number="300">Movies</section>
<section number="400">Lifestyle</section>
<section number="500">Music</section>
<section number="600">Children</section>
<section number="650">Special Interest</section>
<section number="800">Shopping</section>
<section number="870">Adult</section>
<section number="950">Regional</section>
</sections>
Your lcn numbering should match sections. In this example you can add a custom section.
<sections>
<section number="1">Custom list</section>
<section number="101">Entertainment</section>
<section number="200">News and Sport</section>
<section number="300">Movies</section>
<section number="400">Lifestyle</section>
<section number="500">Music</section>
<section number="600">Children</section>
<section number="650">Special Interest</section>
<section number="800">Shopping</section>
<section number="870">Adult</section>
<section number="950">Regional</section>
</sections>

skeggylad2
16-11-14, 10:30
i can do that with dream box
38553

abu baniaz
16-11-14, 13:45
i can do that with dream box
Then please carry on with what you are happy with.

This new feature is for those who don't want to keep editing. ABM will make the changes in the LCN during execution. Does not do bouquets yet.

Huevos
08-05-15, 08:24
Does this mean that I would be able to add Setanta Sports from RoI within either provider Sky UK or even better Sky UK ZZL?What Peter says above is true. You "cannot mix channels from different providers", but the data for Sky UK and Sky RoI comes from the same DVB table so a mix and match is now possible after some recent changes. Just go into expert mode, set extra channels to yes, and pick one of the custom regions and the channels will automatically appear.

Or alternatively make your own provider's file and add your own rules.

Huevos
08-05-15, 08:37
If you just want to move a handful of channels around, recent changes make it possible to make partial CustomLCN files. Just add the new channel number under "lcn" and the current channel number under "channelnumber". "description" is just there to make the file more human friendly but plays no part in the outcome. And as above, this is to move channels within one provider, not to create lists that contain multiple providers. Here is an example...


<custom>
<include>yes</include>
<lcnlist>
<configuration lcn="178" channelnumber="103" description="ITV"></configuration>
<configuration lcn="103" channelnumber="178" description="ITV HD"></configuration>
</lcnlist>
</custom>