On Sun, 09 Aug 2015 15:35:58 +0200 "Brian" Brian_Dorling@t-online.de wrote:
On 8/7/2015 9:57 PM, Ludi wrote:
On Thu, 6 Aug 2015 11:32:54 +0100 Dominic Evans oldmanuk@gmail.com wrote:
Hi Brian,
On 26 July 2015 at 08:40, Brian Brian_Dorling@t-online.de wrote:
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:
- 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..........
- 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
Unfortunately I no longer have a copy of the script available to remind myself, but it should be simple enough to allow it to accept multiple .xml files as arguments and read-in each of them in turn.
You might have a look at the "newer" vdr-plugin-xmltv2vdr, which can also import xmltv files into the vdr. I am currently using it to import two different xmltv files into the vdr.
http://www.linuxtv.org/vdrwiki/index.php/Xmltv2vdr-plugin
Cheers
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Hi, I tried that twice now and both times hit problems that I could not solve. IIRC the support was virtually non-existent. and no logging to help either. So I went back to this solution. It has always worked OK for me.
As the easiest solution I now have two .pl files, one has the CLRE commented out. So first run is with CLRE, second run is without CLRE. As both runs are called from a single script file this solution works OK for me.
Hi Brian,
I am glad you found a solution that works for you.
Concerning the support for the xmltv2vdr plugin, it is probably the best to ask for it in the VDR Portal: http://www.vdr-portal.de
Cheers