Project

General

Profile

Feature #4235

path to look for xmltv-util files

Added by C vH over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
EPG - Grabbers
Target version:
-
Start date:
2017-02-16
Due date:
% Done:

0%

Estimated time:

Description

Tvh expect that xmltv-util (tv_grab_...) is installed in the normal /usr/bin dir, if not it can't be used.

It would be nice if there is a build switch to specify where it has to look for it.

At an ro filesystem like LibreELEC (maybe other distros too) there is no way to include xmltv-util without adding it directly to the ro image (update impossible etc ..). So it has to be placed into a writable path - but at the moment I see no way to achieve this (no symlinks!).

If you are not consider it for an inclusion, it would be helpful if you can point me to the line at the source that i can patch it my self.

best regards

History

#1

Updated by Jaroslav Kysela over 7 years ago

It's enough to modify the PATH environment variable before the tvh binary is started.

#2

Updated by C vH over 7 years ago

We played around with the path var but didn't get it working.

We set the path var (and checked that it is set at tvh start) to /some/path/ and copied the the xmltv stuff their (like it is at every buntu ..) but nothing get found.

LE:~ # ls /storage/.kodi/addons/service.tvheadend42/xmltvfiles
tv_grab_de tv_grab_es_laguiatv tv_grab_es_miguiatv tv_grab_eu_dotmedia tv_grab_eu_egon.PL tv_grab_eu_epgdata tv_grab_file

LE:~ # export PATH=$PATH:/storage/.kodi/addons/service.tvheadend42/xmltvfiles

LE:~ # echo $PATH
/usr/bin:/usr/sbin:/storage/.kodi/addons/service.tvheadend42/bin:/storage/.kodi/addons/service.tvheadend42/xmltvfiles

LE:~ # tvheadend42.start <- checked that the path var is correct (echo $path > file - directly before start of binary)

now we are not really sure if we miss their something or that it didn't work like expected

#3

Updated by Jaroslav Kysela over 7 years ago

OK, to be more precise, the lookup in tvh is: Try to run 'tv_find_grabbers' and use the returned list, otherwise look for tv_grab_* binaries in PATH directories.

Perhaps, tv_find_grabbers does return a wrong or incomplete list on your platform.

#4

Updated by C vH over 7 years ago

ok tx that directs to the correct route
tx

#5

Updated by Jaroslav Kysela over 7 years ago

  • Status changed from New to Rejected

Also available in: Atom PDF