Re: [vdr] ANNOUCEMENT: xmltv2epg

2007-02-12 Thread Pjotr Kourzanov

Rob Davis wrote:

Pjotr Kourzanov wrote:

Rob Davis wrote:

Pjotr Kourzanov wrote:

Oops, forgot the scripts;-)

Pjotr Kourzanov wrote:

Dear all,

  Having been dissatisfied with performance and features of xmltv2vdr
(too slow, no credits/category information in epg.data) I have created
a new script (based on AWK), that can be found in the attachment.

  If you want to try it, put your channels.conf.xmltv in one folder
with these two scripts, and then run cat *.xml | ./xmltv2epg  epg.

  My mileage: 54MB XML - 18MB EPG in 44 minuties (xmltv2vdr used to
take 9 hours).



Looks good, but what does the command line look like?


Well, do a cat *.xml | ./xmltv2epg  epg if you have many separate 
xml files.

Otherwise, ./xmltv2epg file.xml  epg should suffice.





Sorry chaps to go back to an old thread..

How would you send epg back into vdr?  I know you could just use it 
directly from vdradmin, but I would like to append the xmltv listings to 
data already downloaded.


Should I just cat epg.data - or do I need to upload it using an svdr 
command?


Nowadays I use this script to upload it to the VDR:
#!/bin/sh
{ echo -ne ${clre:+clre\n}
  echo quit
} | netcat localhost 2001

for x in $@; do
{
  echo $x /dev/stderr
  echo pute
  cat $x | ./epgfix
  echo .
  echo quit
} | netcat localhost 2001
done
.

epgfix is to truncate the lines to VDR's 10k limit (for some reason,
10240-1 failed for me once, hence -2:-):
#!/usr/bin/awk -f
{print substr($0,1,10*1024-2)}
.

run it with clre=1 ./putepg file1 file2 ... to clear VDR's EPG first.

Regards,
Pjotr.


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ANNOUCEMENT: xmltv2epg

2007-02-11 Thread Rob Davis

Pjotr Kourzanov wrote:

Rob Davis wrote:

Pjotr Kourzanov wrote:

Oops, forgot the scripts;-)

Pjotr Kourzanov wrote:

Dear all,

  Having been dissatisfied with performance and features of xmltv2vdr
(too slow, no credits/category information in epg.data) I have created
a new script (based on AWK), that can be found in the attachment.

  If you want to try it, put your channels.conf.xmltv in one folder
with these two scripts, and then run cat *.xml | ./xmltv2epg  epg.

  My mileage: 54MB XML - 18MB EPG in 44 minuties (xmltv2vdr used to
take 9 hours).



Looks good, but what does the command line look like?


Well, do a cat *.xml | ./xmltv2epg  epg if you have many separate xml 
files.

Otherwise, ./xmltv2epg file.xml  epg should suffice.





Sorry chaps to go back to an old thread..

How would you send epg back into vdr?  I know you could just use it 
directly from vdradmin, but I would like to append the xmltv listings to 
data already downloaded.


Should I just cat epg.data - or do I need to upload it using an svdr 
command?

--
Latest news on http://www.streetcredo.org.uk/rob

Rob Davis

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ANNOUCEMENT: xmltv2epg

2007-01-22 Thread Rob Davis

Pjotr Kourzanov wrote:

Oops, forgot the scripts;-)

Pjotr Kourzanov wrote:

Dear all,

  Having been dissatisfied with performance and features of xmltv2vdr
(too slow, no credits/category information in epg.data) I have created
a new script (based on AWK), that can be found in the attachment.

  If you want to try it, put your channels.conf.xmltv in one folder
with these two scripts, and then run cat *.xml | ./xmltv2epg  epg.

  My mileage: 54MB XML - 18MB EPG in 44 minuties (xmltv2vdr used to
take 9 hours).



Looks good, but what does the command line look like?


--
Latest news on http://www.streetcredo.org.uk/rob

Rob Davis

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ANNOUCEMENT: xmltv2epg

2007-01-22 Thread Pjotr Kourzanov

Rob Davis wrote:

Pjotr Kourzanov wrote:

Oops, forgot the scripts;-)

Pjotr Kourzanov wrote:

Dear all,

  Having been dissatisfied with performance and features of xmltv2vdr
(too slow, no credits/category information in epg.data) I have created
a new script (based on AWK), that can be found in the attachment.

  If you want to try it, put your channels.conf.xmltv in one folder
with these two scripts, and then run cat *.xml | ./xmltv2epg  epg.

  My mileage: 54MB XML - 18MB EPG in 44 minuties (xmltv2vdr used to
take 9 hours).



Looks good, but what does the command line look like?


Well, do a cat *.xml | ./xmltv2epg  epg if you have many separate xml 
files.

Otherwise, ./xmltv2epg file.xml  epg should suffice.


Regards,
Pjotr Kourzanov

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] ANNOUCEMENT: xmltv2epg

2007-01-10 Thread Pjotr Kourzanov

Dear all,

  Having been dissatisfied with performance and features of xmltv2vdr
(too slow, no credits/category information in epg.data) I have created
a new script (based on AWK), that can be found in the attachment.

  If you want to try it, put your channels.conf.xmltv in one folder
with these two scripts, and then run cat *.xml | ./xmltv2epg  epg.

  My mileage: 54MB XML - 18MB EPG in 44 minuties (xmltv2vdr used to
take 9 hours).

Pjotr


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr