Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tvheadend XMLTV grabber #278

Closed
klond opened this issue Nov 2, 2012 · 6 comments
Closed

Tvheadend XMLTV grabber #278

klond opened this issue Nov 2, 2012 · 6 comments
Labels
request request for new package

Comments

@klond
Copy link

klond commented Nov 2, 2012

The Internal XMLTV grabber is not working.
I cannot choose any grabber in the xmltv drobdown menu.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@c-o-m-m-a-n-d-e-r
Copy link

The same here....

@Diaoul
Copy link
Member

Diaoul commented Nov 22, 2012

This is not possible because Perl hasn't the required modules to do that. Perl is a mess to cross compile so this is not an option.

@jekkos
Copy link

jekkos commented Dec 20, 2012

Problem here is that the start script of the package previously used a su before running tvheadend. This causes the application to use a different PATH variable.
I saw a change that removed the su command with a tvheadend built in option. This change could possibly fix the problem.

However if you are still experiencing issues with this, you should add the directory to your xml grabber in the path variable and start tvheadend manually

PATH=$PATH:/opt/path-to-grabber /usr/local/tvheadend/bin/tvheadend -d

Now the process will be attached to ur shell and you will see debug messages directly. It should tell you whether it found the xml tv grabbers or not at startup tiime.

@jekkos
Copy link

jekkos commented Dec 20, 2012

The commit in which this change was done is ea88011
maybe try to move to a version newer than that one

@pvautrin
Copy link

I had similar (same?) issue and fixed it by installing bash
Before, I also had to add /opt/* entries in PATH in /root/.profile, otherwise ipkg would fail
PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin

ipkg update
ipkg install bash

bash is installed in /opt/bin/bash, so make sure you update first line of grabber script
This is with latest DSM 4.1-2668 and fresh install of tvheadend 3.2.18-4 (which should have above fix)

ls -la /usr/bin/tv_grab_file_tpg
-rwxr-xr-x 1 root root 1524 Jan 11 11:18 /usr/bin/tv_grab_file_tpg

Diaoul, I believe the Perl modules are only required to create an XMLTV file, according to this:
https://www.lonelycoder.com/redmine/projects/tvheadend/wiki/Tvheadend_NTSC
In case of existing XMLTV file, I can confirm they are not required

@Diaoul
Copy link
Member

Diaoul commented Mar 12, 2013

If someone achieved to make this work without any PERL dependency please state the detailed steps here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request request for new package
Projects
None yet
Development

No branches or pull requests

6 participants