On 3/9/2012 4:54 PM, Dominic Evans wrote:
I don't know if anyone else still uses the xmltv2vdr.pl perl script for piping XMLTV data into VDR's epg, but I've been keeping a version of it updated with some additional function here:
https://github.com/oldmanuk/xmltv2vdr
These are the changes since the last version (1.0.9) was released on the mailing list
- Add support for XMLTV episode-num. Currently gets added as EPG entry 'sub-title', if no existing subtitle has been found, in the form sXXeXX (e.g., Bones~s01e01).
- Change default SVDRP port number to 6419.
- Better support for ATSC/PVRINPUT EPG sources.
- Allow multiple channels to have the same XMLTV channel id, useful for multi input (e.g., DVB-T, DVB-S) systems where you want to feed VDR the same info. Previously only a 1:1 mapping was permitted.
I've also received a pull request from someone who rewrote the whole script to be a lot more readable and to use full XML parsing (rather than just line-by-line scraping), but I still need to investigate what the performance penalty is before accepting that in.
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Hi Dominic,
just a quick question about the script, which I use every day.
I need to merge XML data from 2 sources for my VDR. I tried just running the script twice, but I see that it clears VDR's EPG at the start. So that does not work.
First attempt was to remove the clear EPG instruction (CLRE I think), that is not a good idea.
So now I am left with 2 alternatives:
1. Use two versions of the script, the first to run with the CLRE in, the second to run without the CLRE in. A version where the CLRE could be skipped due to an input parm would be a great help..........
2. Somehow merge the XML input files and then run the script just once. I'll try that today, maybe that will work
Maybe you have an idea for a solution that I am missing
Cheers Brian
--- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus