PDA

View Full Version : EPG on Enigma2 boxes


SuperCOCO
12-03-2010, 21:34
Dear all,

this piece of code allows you to get Spain Digital+ EPG for seven days. I save it as /usr/script/getepg.sh and "croned" it at 04:30.

Take in consideration that you can adapt for your desired platform (currently rytec.be offers, Be+Nl+Télésat, Sky Uk, Be+Nl+Télésat+Uk, Csat, Nordic, Dplus, Poland, Sky Germany and Sky Italy).

Another advice is that your epg location could not be the same than mine.

#!/bin/sh

cd /tmp
if wget -q -O epg.dat.gz
then
if gzip -d epg.dat.gz
then
if [ -e epg.dat ]
then
mv epg.dat /hdd
init 4
sleep 5
init 3
sleep 90
wget -q -O-
fi
fi
fi


Enjoy it!
Regards,
:SC: