Custom mapping

To use the custom mapping feature run the script once, it will create ‘provider_name-sort-current.xml’ in the working directory (usually /etc/enigma2/e2m3u2bouquet), FTP this to your machine rename it to ‘provider_name-sort-override.xml’ (best to use an xml aware editor like Notepad++), make changes and then FTP back to the box.

Bouquet mapping

Open the override xml file, in the <mapping> → <categories> section reorder the categories as you wish. If you set enabled from “true” to “false” no bouquet will be created for that category

Rename Bouquet
Use the nameOverride attribute to change the name.

Custom Bouquets (from v0.8 on)

You can have you own custom categories by creating a new category and setting customCategory to true.

e.g.

<category name="SULS ENTERTAINMENT" … customCategory="true"/>

Service mapping

Open the override xml file, in the <mapping> → <channel> section reorder the channels as you wish. If you set enabled from “true” to “false” no service will be create for the channel

Rename Service
Use the nameOverride attribute to change the name.

Move service to different bouquet (from v0.8 on)

The categoryOverride attribute can be used to move a service to a different bouquet.

e.g.

<channel name="BBC ONE" … category="ENTERTAINMENT" categoryOverride="SULS ENTERTAINMENT" … />

Using local DVB epg (e.g for full 7 day epg)

Open the override xml file, in the <mapping> → <channel> section change the serviceRef attribute and set the ‘Override service refs’ config option to true.

For example to use the Channel 4 HD DVB-S EPG you would set the serviceRef to “1:0:1:52D0:814:2:11A0000:0:0:0″ (part in bold SID:TID:NID:Namespace needs to match). If you match a DVB service and also set the clearStreamUrl attribute to true the DVB service will replace the IPTV service.

(The service references can be found using a program like E-Channelizer)

Using different xmltv feed (e.g for full 7 day epg)

Open the override xml file, in the <mapping> → <channel> update the tvg-id values to match the xmltv feed. Add the provider urls in <mapping> -> <xmltvextrasources> – there is a commented out config for the Rytec uk & de sources for reference

Channel Numbering

The script will start the first service at channel number 101 with subsequent bouquets starting at the next 100 i.e. 200, 300. You can use placeholder services (from v0.8 on) to control the numbering within bouquets.

In the override file add a placeholder as follows :-

<channel name="placeholder" category="e.g. Sports" />

Provider Updates

Over time your provider is likely to update the channels they offer. If you are using custom sorting then any new categories/channels will be added at the end of your custom lists. If you wish to include the categories/channels in your custom mapping it’s best to re-save ‘provider_name-sort-current.xml’ as ‘provider_name-sort-override.xml’ (‘provider_-sort-current.xml’ should always reflect the changes you’ve made in the override file)