Bug #1813
EPG Graber
0%
Description
Hi
I'm using epguide (http://code.google.com/p/epguide/downloads/list) to grab tv programme.
This is script to grab xmltv to TVH:
#v+
streamer tvheadend # cat /usr/bin/tv_grab_file
#!/bin/bash
dflag=
vflag=
cflag=
if (( $# < 1 ))
then
#cat ~/.xmltv/tv_grab_file.xmltv
cat /opt/tvheadend/home/.xmltv/tv_grab_file.xmltv
exit 0
fi
for arg
do
delim=""
case "$arg" in
#translate --gnu-long-options to g (short options)" ]] || delim="\""
--description) args="${args}-d ";;
--version) args="${args}-v ";;
--capabilities) args="${args}-c ";;
#pass through anything else
*) [[ "${arg:0:1}" == "
args="${args}${delim}${arg}${delim} ";;
esac
done
#Reset the positional parameters to the short options
eval set -- $args
while getopts "dvc" option
do
case $option in
d) dflag=1;;
v) vflag=1;;
c) cflag=1;;
\?) printf "unknown option: -%s\n" $OPTARG
printf "Usage: %s: [--description] [--version] [--capabilities] \n" $(basename $0)
exit 2
;;
esac >&2
done
if [ "$dflag" ]
then
printf "Graber pliku xmltv ~/.xmltv/tv_grab_file.xmltv file\n"
fi
if [ "$vflag" ]
then
printf "0.1\n"
fi
if [ "$cflag" ]
then
printf "baseline\n"
fi
exit 0
#v+
when i enable it in tvh configuration as internal graber i have "empty" program.
Reconnected to Tvheadend
Loglevel debug: enabled
Oct 15 11:59:39.498 /usr/bin/tv_grab_file: grab /usr/bin/tv_grab_file
Oct 15 11:59:40.023 /usr/bin/tv_grab_file: grab took 1 seconds
Oct 15 11:59:40.140 /usr/bin/tv_grab_file: parse took 0 seconds
Oct 15 11:59:40.185 /usr/bin/tv_grab_file: channels tot= 0 new= 0 mod= 0
Oct 15 11:59:40.185 /usr/bin/tv_grab_file: brands tot= 0 new= 0 mod= 0
Oct 15 11:59:40.185 /usr/bin/tv_grab_file: seasons tot= 0 new= 0 mod= 0
Oct 15 11:59:40.185 /usr/bin/tv_grab_file: episodes tot= 0 new= 0 mod= 0
Oct 15 11:59:40.185 /usr/bin/tv_grab_file: broadcasts tot= 0 new= 0 mod= 0
file /opt/tvheadend/home/.xmltv/tv_grab_file contains full xmltv program.
why grabber doesn't see any channel?
History
Updated by Damian Gołda almost 11 years ago
It's not tvheadend bug.
It's epguide problem, see:
http://code.google.com/p/epguide/issues/detail?id=30&can=1
Updated by Adam Sutton almost 11 years ago
- Status changed from New to Invalid
Closed as per user submitted comments.