hello
another issue here with the integration of grabbers ... is there some sort of timeout in tvheadend, some sort of "give up before the script outputs anything" ?
I'm trying it on geexbox. I've the same behaviour on tvheadend 3.0, 3.1, 3.4.
if I run a "top" when I see tvheadend grabbing xmltv, as you can seen root user is used :
1261 925 root R 7584 1.1 0 0.0 {tv_grab_fr_kaze} /usr/bin/perl -w /usr/bin/tv_grab_fr_kazer
in fact, in geexbox, there is only one user (root) :
# cat /etc/passwd
root:x:0:0:root:/root:/bin/sh
#
If I launch the grabber by hand, with user root wich runs tvheadend of course, I get results (arround 10 seconds after having launched the command) (!!) :
# date;/usr/bin/tv_grab_fr_kazer 2>/dev/null | head -10 ; date
Sun Apr 21 11:16:42 UTC 2013
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv source-info-url="http://www.kazer.org/" source-info-name="KaZeR's XMLTV" generator-info-name="XMLTV/$Id: tv_grab_fr_kazer,v 1.6 2011/06/19 20:06:35 dekarl Exp $" generator-info-url="http://www.xmltv.org/">
<channel id="6TER.kazer.org">
<display-name>6 TER</display-name>
</channel>
<channel id="ART1.kazer.org">
<display-name>ARTE</display-name>
</channel>
Sun Apr 21 11:16:54 UTC 2013
#
but tvheadend can't get that output ...
Apr 21 11:14:29 geexbox tvheadend[925]: /usr/bin/tv_grab_fr_kazer: grab /usr/bin/tv_grab_fr_kazer
Apr 21 11:14:29 geexbox tvheadend[925]: Apr 21 11:14:29.263 [ INFO]:/usr/bin/tv_grab_fr_kazer: grab /usr/bin/tv_grab_fr_kazer
Apr 21 11:14:35 geexbox tvheadend[925]: /usr/bin/tv_grab_fr_kazer: no output detected
Apr 21 11:14:35 geexbox tvheadend[925]: Apr 21 11:14:35.980 [ ERROR]:/usr/bin/tv_grab_fr_kazer: no output detected
Apr 21 11:14:35 geexbox tvheadend[925]: /usr/bin/tv_grab_fr_kazer: grab returned no data
Apr 21 11:14:35 geexbox tvheadend[925]: Apr 21 11:14:35.984 [WARNING]:/usr/bin/tv_grab_fr_kazer: grab returned no data
==> it throws an error 6 seconds after the start of the process, that is (with example above) ... 6 seconds BEFORE the script effectively can output anything...
I really can't get it to work, it's very frustrating ...