Safcstevec
Newbie
Hi guys having a weird problem with my epg on my iptv it only shows random guides for certain channels then nothing in the other channel so im not sure what on or whats coming on
How to automatically create your custom.channels.xml from IPTV bouquet
The below python script will create the custom.channels.xml file that is used to create a mapping between your epg data and the unique IPTV stream reference . It's assumed in the guide below you have some linux command line knowledge to run it.
# I do not take responsibility for any lost data or damage to your system or device, This is done at your own risk! #
Prerequisites:
Using the Script
- Enigma2 Box IP Address: To find your IP Address go to Menu-> Setup-> Network-> Device Setup-> Lan Setup (WLan option if that is used)-> Adapter settings
- Note that if you have DHCP set to Yes then your IP Address may change periodically, if you want a static IP address then you need to change the settings here.
- Enigma2 Box userID and password: This varies from box to box and image to image so google is your friend here.
- IPTV channels: These should be imported into your Enigma2 box and be in a single bouquet
- FTP client: a good commonly used one is filezilla but there are loads out there that will do the job.
- Filezilla basic user guide
- Youtube guide on using Filezilla
- SSH client: You will need to connect to the server to test your script and change permissions, I personally use Putty available from http://www.putty.org/
Change Log
- Connect to your Enigma2 device and FTP the below file channelscreator.py to a suitable location eg /etc/epgimport/
channelscreator.zip![]()
- Open an SSH session to you enigma2 device
- Change directory to the folder where you placed the file egtype
cd /etc/epgimport/- now run the python script against your IPTV bouquet file
- Remember to change the placeholder "Your-IPTV-Bouquet-name-here.tv" to your IPTV bouquet nam
python channelscreator.py /etc/enigma2/Your-IPTV-Bouquet-name-here.tv- This will create as new file called custom.channels.xml which you need to update with the channel ID from you EPG data source
- Updating custom.channels.xml is as simple as replacing the word placeholder with the channel ID from you epg source xmltv file
- You should delete any entries that are able to get epg data from an assigned service ref using tools such as echanneliser
26/October - Script updated
26/October - Initial version created
Check the links in rytec sources files in etc/epgimport/ or the lamedb file in etc/enigma2/Hi mate i'm missing a stream ref for MTV live was wondering would you have it or be able to point me in the right direction on where to find it Thxs
Never looked at subtitles tbh, think they need to be provided by your IPTV provider but am open to correctionHi tommychair!
This is fantastic! I will give it a go tomorrow. Can I also ask how to add the subtitles?
Thanks!
Hi Tommy mate you can add them using e-Channelizer i've added all the rest just can't find the stream reference for MTV LIVE tried a vm one i had but no goodNever looked at subtitles tbh, think they need to be provided by your IPTV provider but am open to correction
depends on your provider, some will have 7+ days others only 1 or 2 days.How much info is in the EPG for everyone who has it working? Is it just now/next or have people got 7/14 day guides with e-channeliser?
yes your IPTV provider can set the stream reference equal to the service reference and epgimporter will auto import the epg, all echanneliser is doing is setting that for youim sure there is a way to add epg without echannelizer i saw some youtube vids on it being down thru epg importer