I'm struggling with the exact same thing with HTS Tvheadend 4.2.4 running on a Synology NAS, trying to make it work with WebGrab++.
As first suggested I made a
tv_find_grabbers
script in
/usr/bin@:
#!/bin/sh
my_grabber_script="/usr/bin/tv_grab_wg++"
echo "${my_grabber_script}|WebGrab+Plus"
I made a dummy for that particular grabber @/usr/bin/tv_grab_wg++
that creates a file if run, just for the sake of testing, although it has no XML output for tvheadend to read:
#!/bin/bash
echo "Hello World!" >> /var/packages/tvheadend/target/var/tested.txt
Both of these scripts have the proper +x permission:
-rwxr-xr-x 1 root root 95 Dec 31 12:28 tv_find_grabbers
-rwxr-xr-x 1 root root 91 Dec 31 12:22 tv_grab_wg++
The directory
/var/packages/tvheadend/target/var/
is writable by the
sc-tvheadend
user that the service is relying on.
With these in place I restarted tvheadend. No grabber was listed on the page.
Used the option "Re-run Internal EPG Grabbers". No file was created, no grabber was listed on the page.
Also tried setting up the grabber config file as per the later suggestion with this entry, at the tail:
"tv_grab_wg++": {
"class": "epggrab_mod_int_xmltv",
"name": "WebGrab+Plus",
"type": "Internal",
"enabled": true,
"priority": 6
}
Restarted tvheadend. No grabber was listed on the page.
Used the option "Re-run Internal EPG Grabbers". No file was created, no grabber was listed on the page.
At some point, though, the grabber config file was overwritten, the entry I placed was not there and there was this one in the beginning of the list:
"/usr/bin/tv_grab_wg++": {
"class": "epggrab_mod_int_xmltv",
"dn_chnum": 0,
"name": "XMLTV: WebGrab+Plus",
"type": "Internal",
"enabled": false,
"priority": 3
}
So I presume that the
tv_find_grabbers
list is being read by tvheadend and the config updated with it. Tried editing enabled to true and restart, but it still seems like the target script
tv_grab_wg++
is never being called.