GetEPG Plugin 1.6 by Redneck Eyeball

Installation :
1) Copy getepg, goepg.cfg and goepg.so to /var/tuxbox/plugins
2) chmod getepg 755

Tested with EPGUI 2.2 and Rudream 0207

Requirements : EPGUI 2.2 with the new mhwepg2 file included

Usage :
Add a timer event to run this plugin, let it run in the middle of the night and it
will create a new epgui.dat file every night, providing an always up-to-date EPG.
The EPG channel is currently set to Netherlands 1, but this can easily be changed
in the getepg file.
With the new enigma you can now add timer events to run a plugin at any given time.


What it does ?
This script is based on source provided by several people.
# goepg 1.1 2004.10.30 by tCC
# goepg 1.2 2004.10.31 changed by mirakels
#        - add -p to mkdir
#        - introduce a few vars to simplify configuration of script
#        - keep current stream info in var (e.g. no need for tmp file)
#        - only switch stream if needed
# goepg 1.3 2004.11.22 changed by mirakels
#        - determine time offset from current date
# goepg 1.4a 2005.02.23
#        - Changed by Redneck Eyeball to work with EPGdb 2.0
# goepg 1.4b 2005.04.19 -  mirakels
#        - use dreambox status instead of streaminfo to get current stream
#          (this is no problem now since httpauth is assumed active)
# goepg 1.5 2005.06.30 - mirakels
#        - adapt to the streaminfo changes in enigma: uses xml know.
# getepg 1.6 2005.07.03
#        - Changed by Redneck Eyeball to work with EPGdb 2.2


