Project

General

Profile

tv_grab_nl_java

Added by piotr w about 9 years ago

I'm using tv_grab_nl_py to grab the program details. This is a Python script. On my raspberrypi2 this script uses a lot of memory and hangs frequently. I want to switch to the java version: https://github.com/janpascal/tv_grab_nl_java Any suggestions on how to configure this in tvheadend ?


Replies (4)

RE: tv_grab_nl_java - Added by Prof Yaffle about 9 years ago

It's a long time since I used xmltv... however... from what I remember, it's a case of:

1. Putting the script where it can be found (e.g. alongside the other grabbers in /usr/bin)
2. Making sure it's executable when called (e.g. by hts:video)
3. Configuring it by running it with --configure. Do this as the user who runs tvheadend, so hts in most cases.
4. Testing that it does indeed scrape the sources and return the xml file
5. Registering it - it's a script called tv_grabber_find or something like that

... and now you should be able to call it from within tvheadend or any other application.

RE: tv_grab_nl_java - Added by piotr w about 9 years ago

Thanks Proff Yaffle. Points 1 to 4 are clear. I'm stuck at 5 :( What do you mean bij registering it ? In the Tvheadend config > EPG Grabbers ?

RE: tv_grab_nl_java - Added by Prof Yaffle about 9 years ago

<goes to look>

There's a script in /usr/bin - tv_find_grabbers - that searches your path and returns all grabbers that are available. Your grabber should appear on that list if it's installed correctly.

Now, what I genuinely can't remember is whether this does anything else. I thought that it registered all the grabbers into a central 'database', but - looking at the script - that doesn't seem to be the case, so I may well have been making that bit up. Run it to see if it can find your new grabber, but I don't think it does anything more than that.

If your grabber is installed alongside the others, and has the same permissions, and you've configured it as hts - then tvheadend should be able to see it and use it through the config tab.

RE: tv_grab_nl_java - Added by piotr w about 9 years ago

I gave up on these grabbers, using too much memory on the Pi. Changed to this excellent grabber: http://webgrabplus.com/

    (1-4/4)