Project

General

Profile

Bug #2516

EPG - Can't select XMLTV module in "internal grabber"

Added by Bernard DELAVILLE almost 10 years ago. Updated almost 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Configuration
Target version:
-
Start date:
2014-11-29
Due date:
% Done:

100%

Estimated time:
Found in version:
3.9.2168
Affected Versions:

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

tv_grab_file (1.17 KB) tv_grab_file Ron L, 2014-12-01 19:06

History

#1

Updated by Martin Ayla almost 10 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'?

#2

Updated by Jaroslav Kysela almost 10 years ago

Do you see any errors in tvh log ?

#3

Updated by Bernard DELAVILLE almost 10 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)

#4

Updated by Jaroslav Kysela almost 10 years ago

Add this dir to the environment variable PATH . Tvheadend looks for grabbers only in directories specified in this common variable.

#5

Updated by Jaroslav Kysela almost 10 years ago

Or symlink the binary to a directory in PATH .

#6

Updated by Bernard DELAVILLE almost 10 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

#7

Updated by Bernard DELAVILLE almost 10 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

#9

Updated by Jaroslav Kysela almost 10 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
#10

Updated by Stefan Saraev almost 10 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_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

the issue has been fixed in openelec.
however https://github.com/tvheadend/tvheadend/commit/01e7cc1478ebfca55a479b3aeb00df12615632dc#commitcomment-8771000 is a valid point..

#11

Updated by Ron L almost 10 years ago

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.

#12

Updated by Jaroslav Kysela almost 10 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|6b152b942d2dcc832e37017fa617aab3e8620d75.

Also available in: Atom PDF