Project

General

Profile

Run grabber whit argument

Added by Stefano Lucchini about 12 years ago

I would like to launch the parameter "--slow" when tvheadend runs the grabbing
ex:

/usr/bin/tv_grab_it --slow

i run tvheadend 3.0 with debian distro (openmediavault)


Replies (3)

RE: Run grabber whit argument - Added by Adam Sutton about 12 years ago

The only way to achieve this in TVH 3.0 (or older) is to run the grabber externally and capture the output to file and then use tv_grab_file from within TVH.

For newer builds (from git) you can setup a unix domain socket which you can then have you're script write data to. This allows users to setup more complex XMLTV setups, such as multiple scripts, command line flags, advanced scheduling via cron etc..

Adam

RE: Run grabber whit argument - Added by Stefano Lucchini about 12 years ago

Thank you Adam,
for running tv_grab_file it's enough to run

su hts
/usr/bin/tv_grab_file

?

RE: Run grabber whit argument - Added by Adam Sutton about 12 years ago

I think you probably need to configure where it gets the file from, I can't say that I've ever used it myself.

I rarely use XMLTV other than occasionally to test changes to the code and I always pump into the domain socket interface as its the easiest way for me to test.

Adam

    (1-3/3)