programme data not recognized
Added by Daniel Kenzelmann almost 10 years ago
I have issues with a grabber I wrote myself for Chinese TV.
It is located at /usr/local/bin/tv_grab_cntv
I can select it in Internal Grabbers, the channels are recognized.
I also set the EPG source in the channel list to the corresponding xmltv source.
However, no EPG information is gathered from the XML.
Dec 02 22:40:29 [tvheadend] /usr/local/bin/tv_grab_cntv: grab /usr/local/bin/tv_grab_cntv
Dec 02 22:40:37 [tvheadend] /usr/local/bin/tv_grab_cntv: grab took 8 seconds
Dec 02 22:40:37 [tvheadend] /usr/local/bin/tv_grab_cntv: parse took 0 seconds
Dec 02 22:40:37 [tvheadend] /usr/local/bin/tv_grab_cntv: channels tot= 24 new= 0 mod= 0
Dec 02 22:40:37 [tvheadend] /usr/local/bin/tv_grab_cntv: brands tot= 0 new= 0 mod= 0
Dec 02 22:40:37 [tvheadend] /usr/local/bin/tv_grab_cntv: seasons tot= 0 new= 0 mod= 0
Dec 02 22:40:37 [tvheadend] /usr/local/bin/tv_grab_cntv: episodes tot= 0 new= 0 mod= 0
Dec 02 22:40:37 [tvheadend] /usr/local/bin/tv_grab_cntv: broadcasts tot= 0 new= 0 mod= 0
The created xml file is attached (normally returned on stdout).
Do I miss something in the xml? According to the DTD, only the title subelement and the channel and start attributes are required.
I am using Tvheadend 3.4.27 (Gentoo)
Replies (1)
RE: programme data not recognized - Added by Daniel Kenzelmann over 9 years ago
Finally found the solution.
It seems I mistakenly used "start" and "end" instead of "start" and "stop" in the xml attributes of programme.
Looking at the xmltv.dtd again shows me that I was stupid... :-/
<!ELEMENT programme (title+, sub-title*, desc*, credits?, date?, category*, keyword*, language?, orig-language?, length?, icon*, url*, country*, episode-num*, video?, audio?, previously-shown?, premiere?, last-chance?, new?, subtitles*, rating*, star-rating*, review* )> <!ATTLIST programme start CDATA #REQUIRED stop CDATA #IMPLIED pdc-start CDATA #IMPLIED vps-start CDATA #IMPLIED showview CDATA #IMPLIED videoplus CDATA #IMPLIED channel CDATA #REQUIRED clumpidx CDATA "0/1" >