NEW INSTRUCTIONS & UPDATED SCRIPT 14/01/2021 v1.2
What's new in v1.2
* No need to uninstall the previous version before updating to new version.
* Script will automatically remove the old cron without deleting other crons in the list.
* Daily update time changed to 06:10am as some providers update their epg.xml at 6:00am hence the script was unable to fetch the data at 6:00am.
Please note: This version will automatically remove the previous version of this script.
How to fix offset EPG of your IPTV provider i.e. if your epg is ahead or behind and showing wrong program information. You can adjust the offset time between any range from 1 minute to up to 23 hours.
HOW DOES IT WORK: The below script will create a new source file for EPGimporter and fix the offset time issue of your provider's epg by downloading it onto your HDD and fixing it so you get the correct programme guide. This will also setup a daily cron that will update the data everyday at 6:00am
PLEASE NOTE: This will ONLY work if you have created bouquets and playlist with JediMakerxtreme
HOW TO EXECUTE: You only need to run the below script ONCE. Follow my setup by step guide.
Note: If 'Automatic live bouquet update' is enabled in your jedimakerextreme then make sure you set it's start time before 05:30am by going into jedimakerextreme > settings.
You will need SSH client: to connect to your Enigma2 box to run the below script, I personally use Putty available from Download PuTTY - a free SSH and telnet client for Windows
OpenATV users can use the terminal within OpenWebif
Step 1: Connect to your enigma2 box using SSH and login to your box
Step 2: Paste the below link and hit enter.
wget -O /tmp/setup.sh "https://github.com/ravstar/Enigma2/raw/main/setup.sh" && cd /tmp/ && chmod 755 setup.sh && ./setup.sh
Step 3: Follow instructions on the terminal and it will set everything up for you.
Point to be noted: The time taken by script from start to finish would depend on EPG data and processing power of your box. For example: my provider's epg.xml file is 40Mb in size so my Zgemma H9S takes around 9 mins to update the file everyday on other side Zgemma H2S takes 50-60 mins to update the file. But it will run in the background and won't interrupt if you are watching any programme.
Once done,
Step 4: go into epg importer
Look for an option named 'Clearing current EPG before import' and turn it to yes. (Note: you only need to clear EPG only once for the first run so no need to press save after turning it to Yes).
Import EPG manually by pressing yellow button.
EPGimporter will start importing EPG data.
Make sure you set your epg importer 'automatic start time' not before 7:10am
All done! Happy viewing.
IF you get an ERROR saying Script has been installed though it won't work until you follow one more step manually
it will print additional text saying
""My xml HHMM is: +/-four digits and I want to adjust it by: +/-four digits""
Then post that message here in this thread and I will give you one more command to run to fix the error.
If you would like to uninstall above script and changes it has made for any reason, then paste following link in your SSH client and hit enter.
cd /usr/script && ./uninstall1.sh
What's new in v1.2
* No need to uninstall the previous version before updating to new version.
* Script will automatically remove the old cron without deleting other crons in the list.
* Daily update time changed to 06:10am as some providers update their epg.xml at 6:00am hence the script was unable to fetch the data at 6:00am.
Please note: This version will automatically remove the previous version of this script.
How to fix offset EPG of your IPTV provider i.e. if your epg is ahead or behind and showing wrong program information. You can adjust the offset time between any range from 1 minute to up to 23 hours.
HOW DOES IT WORK: The below script will create a new source file for EPGimporter and fix the offset time issue of your provider's epg by downloading it onto your HDD and fixing it so you get the correct programme guide. This will also setup a daily cron that will update the data everyday at 6:00am
PLEASE NOTE: This will ONLY work if you have created bouquets and playlist with JediMakerxtreme
HOW TO EXECUTE: You only need to run the below script ONCE. Follow my setup by step guide.
Note: If 'Automatic live bouquet update' is enabled in your jedimakerextreme then make sure you set it's start time before 05:30am by going into jedimakerextreme > settings.
You will need SSH client: to connect to your Enigma2 box to run the below script, I personally use Putty available from Download PuTTY - a free SSH and telnet client for Windows
OpenATV users can use the terminal within OpenWebif
Step 1: Connect to your enigma2 box using SSH and login to your box
Step 2: Paste the below link and hit enter.
wget -O /tmp/setup.sh "https://github.com/ravstar/Enigma2/raw/main/setup.sh" && cd /tmp/ && chmod 755 setup.sh && ./setup.sh
Step 3: Follow instructions on the terminal and it will set everything up for you.
Point to be noted: The time taken by script from start to finish would depend on EPG data and processing power of your box. For example: my provider's epg.xml file is 40Mb in size so my Zgemma H9S takes around 9 mins to update the file everyday on other side Zgemma H2S takes 50-60 mins to update the file. But it will run in the background and won't interrupt if you are watching any programme.
Once done,
Step 4: go into epg importer
Look for an option named 'Clearing current EPG before import' and turn it to yes. (Note: you only need to clear EPG only once for the first run so no need to press save after turning it to Yes).
Import EPG manually by pressing yellow button.
EPGimporter will start importing EPG data.
Make sure you set your epg importer 'automatic start time' not before 7:10am
All done! Happy viewing.
IF you get an ERROR saying Script has been installed though it won't work until you follow one more step manually
it will print additional text saying
""My xml HHMM is: +/-four digits and I want to adjust it by: +/-four digits""
Then post that message here in this thread and I will give you one more command to run to fix the error.
If you would like to uninstall above script and changes it has made for any reason, then paste following link in your SSH client and hit enter.
cd /usr/script && ./uninstall1.sh
Last edited: