Bug #2516
EPG - Can't select XMLTV module in "internal grabber"
100%
Description
Hello,
Trying last beta OpenELEC 4.95.5 with Tvh 3.9.2168.
I've got my .xml file in relation into OE addon tvheadend service.
I tryed to select XMLTV into internal grabber, but there is no choise in select list, there is only "desabled" so I can't make the relation with channels ..
Where does it comes from ?
Tvh or OE ?
http://hpics.li/48f2d1a
Files
Associated revisions
History
Updated by Martin Ayla over 7 years ago
Bernard DELAVILLE wrote:
Hello,
Trying last beta OpenELEC 4.95.5 with Tvh 3.9.2168.
I've got my .xml file in relation into OE addon tvheadend service.
I tryed to select XMLTV into internal grabber, but there is no choise in select list, there is only "desabled" so I can't make the relation with channels ..
Where does it comes from ?
Tvh or OE ?
http://hpics.li/48f2d1a
I have the same problem with the git pull from today, using Ubuntu 14.04.
Only option for 'Internal grabber' is 'Disabled'?
Updated by Bernard DELAVILLE over 7 years ago
Nothing suspect on tvh log ..
Seems that tvh purely ignored the OpenELEC tv_grab_file wich is in ~/.kodi/addons/service.multimedia.tvheadend/bin
Because nothing appears in list on web ui in internal module (only disabled appears, no other choise)
Updated by Jaroslav Kysela over 7 years ago
Add this dir to the environment variable PATH . Tvheadend looks for grabbers only in directories specified in this common variable.
Updated by Bernard DELAVILLE over 7 years ago
Ok
Just made a fresh compilation of OE AND tvh from lastest git, and done a fresh install and all is ok now ...
Thanks a lot
Updated by Bernard DELAVILLE over 7 years ago
So I spoke too quickly .. now I've got in tvh log :
2014-12-01 00:28:00.013 /storage/.kodi/addons/service.multimedia.tvheadend/bin/tv_grab_file: grab /storage/.kodi/addons/service.multimedia.tvheadend/bin/tv_grab_file
2014-12-01 00:28:00.014 spawn: Executing "/storage/.kodi/addons/service.multimedia.tvheadend/bin/tv_grab_file"
2014-12-01 00:28:00.024 spawn: Illegal option -q
2014-12-01 00:28:00.024 spawn: unknown option: -
2014-12-01 00:28:00.024 spawn: Usage: tv_grab_file: [--description] [--version] [--capabilities]
2014-12-01 00:28:00.025 /storage/.kodi/addons/service.multimedia.tvheadend/bin/tv_grab_file: no output detected
2014-12-01 00:28:00.025 /storage/.kodi/addons/service.multimedia.tvheadend/bin/tv_grab_file: grab returned no data
Updated by Ron L over 7 years ago
tv_grab_file issue is this...
https://github.com/tvheadend/tvheadend/commit/01e7cc1478ebfca55a479b3aeb00df12615632dc
Updated by Jaroslav Kysela over 7 years ago
Just add this to the tv_grab_file:
while getopts "dvcq" option # change this line (add q) do case $option in d) dflag=1;; v) vflag=1;; c) cflag=1;; q) ;; # add this line \?) printf "unknown option: -%s\n" $OPTARG printf "Usage: %s: [--description] [--version] [--capabilities] \n" $(basename $0) exit 2 ;; esac >&2 done
Updated by Stefan Saraev over 7 years ago
Bernard DELAVILLE wrote:
So I spoke too quickly .. now I've got in tvh log :
2014-12-01 00:28:00.013 /storage/.kodi/addons/service.multimedia.tvheadend/bin/tv_grab_file: grab /storage/.kodi/addons/service.multimedia.tvheadend/bin/tv_grab_file2014-12-01 00:28:00.014 spawn: Executing "/storage/.kodi/addons/service.multimedia.tvheadend/bin/tv_grab_file"
2014-12-01 00:28:00.024 spawn: Illegal option -q
2014-12-01 00:28:00.024 spawn: unknown option: -
2014-12-01 00:28:00.024 spawn: Usage: tv_grab_file: [--description] [--version] [--capabilities]
2014-12-01 00:28:00.025 /storage/.kodi/addons/service.multimedia.tvheadend/bin/tv_grab_file: no output detected
2014-12-01 00:28:00.025 /storage/.kodi/addons/service.multimedia.tvheadend/bin/tv_grab_file: grab returned no data
the issue has been fixed in openelec.
however https://github.com/tvheadend/tvheadend/commit/01e7cc1478ebfca55a479b3aeb00df12615632dc#commitcomment-8771000 is a valid point..
Updated by Ron L over 7 years ago
- File tv_grab_file tv_grab_file added
Jaroslav Kysela wrote:
Just add this to the tv_grab_file:
[...]
It doesn't work for me with just that patch. I have to completely add in --quiet. See attached file.
If --quiet is not going to be optional we should probably include an example tv_grab_file in the repo. I can send a pull request if you like.
Updated by Jaroslav Kysela over 7 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset tvheadend|6b152b942d2dcc832e37017fa617aab3e8620d75.
XMTTV: allow to specify arguments for grabbers, fixes #2516