[vdr] xmltv2vdr 1.0.6 "channel=" problems

Simon Baxter linuxtv at nzbaxters.com
Wed Apr 11 01:34:29 CEST 2007


Hi - I've been using xmltv2vdr for years.  It's great!

I'm now getting my xml EPG from a different source, and am having problems
getting the perl script to run properly.  My perl knowledge is poor (to
say the least!!)


The problem is, the epg xml I'm getting has the "channel=" at the wrong
end of the "<programme"  sequence.

So instead of:
<programme start="20070412060000 +1200" stop="20070412061000 +1200"
channel="1031.dvb.guide">

it has :
<programme channel="1031.dvb.guide" start="20070412060000 +1200"
stop="20070412061000 +1200">

This results in the wrong SVRDP messages being produced.

I get:
CLRE
PUTE
C C-0-112250-1796 TV1-Cable
E 0 0 1176231600 0
T Breakfast
D Breakfast
e
c
.

so no program ID# and the start/duration is broken.

I've tested this by manually changing a programme sequence in the xml,
moving the "channel=" to the end - and it works fine.
CLRE
PUTE
C C-0-112250-1796 TV1-Cable
E 8895 1176231600 7200 0
T Breakfast
D Breakfast
e
c
.
QUIT


Can anyone help me??

Thanks heaps!!!

Simon







More information about the vdr mailing list