there is no internal grabber dropdown at all?
Added by Johan Davidsson almost 7 years ago
Hi, I have tried to search at this problem for hours.
I have TVheadend instalation at my synology NAS, running the latest 4.2.4 version.
I have done all the steps for tv_grab_file to work. it runs fine when i SSH into my synology and if I type tv_grab_file, it finds and list EPG information for all the channels.
But in the backend i cant chose internal grabber? everyone else problem i read about at least have the scrolldown and it says disabled, but i dont even have the internal grabber?
Im putting som screenshots
Replies (7)
RE: there is no internal grabber dropdown at all? - Added by Mark Clarkstone almost 7 years ago
See this
You basically need to fake tv_find_grabbers.
RE: there is no internal grabber dropdown at all? - Added by Johan Davidsson almost 7 years ago
Oh, im such a newbie with Linux commands, my level is that I have to google to learn how to copy a file with SSH
I tried to create a script but I Think i need a more detailed guide of how to do this fix.
thank you!
RE: there is no internal grabber dropdown at all? - Added by Kick4U 2 almost 7 years ago
See answer below.
old_post.txt (5.63 KB) old_post.txt |
RE: there is no internal grabber dropdown at all? - Added by Lemon Head almost 7 years ago
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.
RE: there is no internal grabber dropdown at all? - Added by Kick4U 2 almost 7 years ago
Yes, I remember it wasn't so easy! Try adding an entry in the config file under the "xmltv" folder. This also has an entry for the grabbers as well.
{ "grabbers": [ { "path": "/storage/.kodi/addons/service.tvheadend42/bin/tv_grab_file", "description": "tv_grag_file is a simple grabber that just read the ~/.xmltv/tv_grab_file.xmltv file", "version": "0.1\n", "mtime": 1318774706, "capabilities": 1 } ], "grab-interval": 12, "grab-enabled": 1, "current-grabber": "/storage/.kodi/addons/service.tvheadend42/bin/tv_grab_file" }
Good Luck!
RE: there is no internal grabber dropdown at all? - Added by Lemon Head almost 7 years ago
Actually, turns out that editing the enabled flag to true seems to have done the trick!
So, more ore less, you can get to work this way:
- Create the
tv_find_grabbers
as suggested previously by Mark https://tvheadend.org/boards/12/topics/30358?r=30359#message-30359 - Restart tvheadend so it reads the list of grabbers and updates the grabber config file
- Edit the file
epggrab/config
in the tvheadend user data directory, find the entry belonging to your grabber and set it to enabled - Restart tvheadend so it reads the new grabber config file
tvheadend should now be able to run your grabber. No grabber is ever listed on the web UI, not sure whether that's intended in this version or not.
RE: there is no internal grabber dropdown at all? - Added by sam b almost 7 years ago
I have tried all of these. my config shows that my grabber is enabled. I have my setting set to expert in the web interface. I have updated a script to print out my grabber location. I still do not see a dropdown in the EPG grabber tab. Is there a patch or a previous version that does not have this issue or something else for me to try. Everything up to this point has gone smooth but I cannot get past this part.