17.11.2020, 12:34
Tak jsem udělal všechno podle návodu ale zřejmě mám špatně zeditovanej script tv_grab.
Tady kousek logu z TVH:
2020-11-17 11:25:11.091 xmltv: /usr/bin/tv_grab_wg++: grab /usr/bin/tv_grab_wg++
2020-11-17 11:25:11.096 spawn: Executing "/usr/bin/tv_grab_wg++"
2020-11-17 11:25:11.107 spawn: cat: /.volume1/video/epg/xmltv.xml: No such file or directory
2020-11-17 11:25:11.108 xmltv: /usr/bin/tv_grab_wg++: no output detected
2020-11-17 11:25:11.108 xmltv: /usr/bin/tv_grab_wg++: grab returned no data
A tady obsah tv_grab:
Díky za pomoc.
Tady kousek logu z TVH:
2020-11-17 11:25:11.091 xmltv: /usr/bin/tv_grab_wg++: grab /usr/bin/tv_grab_wg++
2020-11-17 11:25:11.096 spawn: Executing "/usr/bin/tv_grab_wg++"
2020-11-17 11:25:11.107 spawn: cat: /.volume1/video/epg/xmltv.xml: No such file or directory
2020-11-17 11:25:11.108 xmltv: /usr/bin/tv_grab_wg++: no output detected
2020-11-17 11:25:11.108 xmltv: /usr/bin/tv_grab_wg++: grab returned no data
A tady obsah tv_grab:
Kód:
#!/bin/bash
xmltv_file_location=~/.wg++/xmltv.xml
dflag=
vflag=
cflag=
qflag=
if (( $# < 1 ))
then
cat "/.volume1/video/epg/xmltv.xml"
exit 0
fi
for arg
do
delim=""
case "$arg" in
#translate --gnu-long-options to -g (short options)
--description) args="${args}-d ";;
--version) args="${args}-v ";;
--capabilities) args="${args}-c ";;
--quiet) args="${args}-q ";;
#pass through anything else
*) [[ "${arg:0:1}" == "-" ]] || delim="\""
args="${args}${delim}${arg}${delim} ";;
esac
done
#Reset the positional parameters to the short options
eval set -- $args
while getopts "dvcq" option
do
case $option in
d) dflag=1;;
v) vflag=1;;
c) cflag=1;;
q) qflag=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 "$0 is a wrapper grabber around WebGrab+Plus\n"
fi
if [ "$vflag" ]
then
printf "0.2\n"
fi
if [ "$cflag" ]
then
printf "baseline\n"
fi
if [ "$qflag" ]
then
printf ""
fi
exit 0
Díky za pomoc.
RPI 3 Libreelec 9.0 TVH,Tanix TX3 Coreelec 9.0.xx ,X96mini Coreelec 9.0.xx, KI pro Coreelec 9.0.xx