Latest release focuses on custom mapping and now allows a number of new possibilities:-
- Reorder bouquets
- Reorder channels within bouquets
- Disable entire bouquet or individual channels
- Ability to change service reference (so that EPG from existing satellite service can be used)
- Ability to replace local DVB in IPTV bouquet (e.g. if your box has a tuner you can use it for FTA channels instead of the IPTV versions)
- Change tvg-id to match other xml epg feeds
To use the custom mapping feature run the script once, it will create ‘e2m3u2bouquet-sort-current.xml’ in the working directory, FTP this to your machine rename it to ‘e2m3u2bouquet-sort-override.xml’ (best to use an xml aware editor like Notepad++), make changes and then FTP it back to the box.
N.B. Some of the more advanced mapping features (e.g. changing to a local dvb epg or a different xmltv epg) will be time consuming to set-up. Ways to further automate this will, hopefully, be part of a future release
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 create for the category
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
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
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)
N.B. For newer versions if you want to override the serviceRef’s then you need to set ‘Override service refs’ to true for change to take effect.
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
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 ‘e2m3u2bouquet-sort-current.xml’ as ‘e2m3u2bouquet-sort-override.xml’ (‘e2m3u2bouquet-sort-current.xml’ should always reflect the changes you’ve made in the override file)
VOD is now back in one bouquet. Reason for this change it that a large number of bouquets can crash the box. If you wish to have multiple categories for VOD please use the -M parameter e.g.
./e2m3u2bouquet.py -n suls-u USERNAME -p PASSWORD -M
All channels bouquet
To have an All Channels bouquet created please use the -a parameter e.g.
./e2m3u2bouquet.py -n suls-u USERNAME -p PASSWORD -a