Hi,
I'm trying to get the epg info with xmltv and xmltv2vdr.pl from 2 different grab scripts. The problem I have is that the second script I use overwrite the first script info and left the epg info blank for these channels. How can I use two different grabs for a single channels.conf? What I'm doing wrong? The first script I use is:
/usr/bin/tv_grab_es --days 4 --config-file /root/.xmltv/tv_grab_es.conf --output /video/plugins/xmltv2vdr/channels.xml.tmp /usr/bin/tv_sort --output /video/plugins/xmltv2vdr/channels.xml /video/plugins/xmltv2vdr/channels.xml.tmp /video/plugins/xmltv2vdr/xmltv2vdr.pl -x /video/plugins/xmltv2vdr/channels.xml -c /video/plugins/xmltv2vdr/channels.conf
The second:
/root/tv_grab_es_digital --days 4 --config-file /root/.xmltv/tv_grab_es_digital.conf --output /video/plugins/xmltv2vdr/channels.xml.tmp /usr/bin/tv_sort --output /video/plugins/xmltv2vdr/channels.xml /video/plugins/xmltv2vdr/channels.xml.tmp /video/plugins/xmltv2vdr/xmltv2vdr.pl -x /video/plugins/xmltv2vdr/channels.xml -c /video/plugins/xmltv2vdr/channels.conf
In the xmltv channels.conf I have identified correctly each channel with the extra field. I supose the relation between xmltv channels.conf and vdr channels.conf is based on the line number. It's correct?
Thanks,
Leo
Leo Márquez wrote:
Hi,
I'm trying to get the epg info with xmltv and xmltv2vdr.pl from 2 different grab scripts. The problem I have is that the second script I use overwrite the first script info and left the epg info blank for these channels.
There are two possibilities:
1) merge your xmltv files before importing them.
There is a utility with xmltv which will do this - tv_cat.
2) use a modified version of xmltv2vdr.
I hacked it to add additional features. One is an option to do what you're looking for, -n. See point 5 here:
http://www.antezeta.it/xmltv2vdr.html
Sean Carlos