Hello awiouy,
Thanks for the addons i installed them on my C2 and it works great!
If i run webgrab i get a guide_wpg.xml instead of a guide.xml is this correct?
I'm running tvheadend from a seperate odroid XU3 and i trying to manage the guide.xml into my seperate tvheadend server but i can't get it to work.
I tried to mount the folder in tvheadend server where the guide.xml exist over smb but still no luck.
I have a tv_grab_wg++ file in /usr/bin in tvheadend server like this
#!/bin/bash
xmltv_file_location=smb://192.168.178.169/storage/userdata/addon_data/service.webgrabplus
dflag=
vflag=
cflag=
qflag=
if (( $# < 1 ))
then
  cat "$xmltv_file_location"
  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="\""
 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
maybe you can tell em what i'm doing wrong?
Thanks!