I found this excellent howto by samot4 on adding custom xmltv scripts for aggregating epg data. First read the wiki entries Internet epg on neumo images or Internet EPG on Neumo images – Fantacyteam script for a basic setup!
How to make unsupported tv_grabbers work with internet-epg
-
Install internet-epg
-
Restart your box
-
Turn on swap:
swapon /dev/ide/host0/bus0/target0/lun0/part1
-
Change home dir:
HOME="/var/media/epg/data"
-
Configure the grabber of your choice. For instance:
/opt/bin/tv_grab_se_swedb --configure /opt/bin/tv_grab_se_swedb --config-file /var/media/epg/data/.xmltv/tv_grab_se_swedb.conf
-
Create a channel list
/opt/bin/tv_grab_se_swedb --list-channels /opt/bin/tv_grab_se_swedb --output /tmp/channels.xml
-
Import the channel list into dbChannelMap.dat
/channelMap.php --import-relook-channels=/var/data/db.dat --db=/var/media/epg/software/data/dbChannelMap.dat
/var/media/epg/software/channelMap.php --import-relook-channels=/var/data/db.dat --guess-by-name --db=/var/media/epg/software/data/dbChannelMap.dat
-
If you haven’t done so already, import satellite channels from your db.dat to dbChannelMap.dat.
/var/media/epg/software/channelMap.php --import-relook-channels=/var/data/db.dat --db=/var/media/epg/software/data/dbChannelMap.dat
-
Run EPG setup:
/var/media/epg/software/epg.php --setup
-
Finally run these commands to perform EPG aggregation and update db.dat:
/var/media/epg/software/epg.php --run /var/media/epg/software/epg.php --update-dbepg
-
Reboot your box.