Project

General

Profile

EPG via XMLTV and tv_grab_file

Added by Hag Horrible about 9 years ago

Hello there,

I've tried and googled for days now, but I can't seem to get this one working. This log pretty much describes the problem:

2015-09-06 22:42:55.071 /usr/bin/tv_grab_file: grab /usr/bin/tv_grab_file
2015-09-06 22:42:55.082 spawn: Executing "/usr/bin/tv_grab_file" 
2015-09-06 22:42:55.672 /usr/bin/tv_grab_file: grab took 0 seconds
2015-09-06 22:42:55.887 /usr/bin/tv_grab_file: parse took 0 seconds
2015-09-06 22:42:55.887 /usr/bin/tv_grab_file:   channels   tot=  136 new=    0 mod=    0
2015-09-06 22:42:55.887 /usr/bin/tv_grab_file:   brands     tot=    0 new=    0 mod=    0
2015-09-06 22:42:55.887 /usr/bin/tv_grab_file:   seasons    tot=    0 new=    0 mod=    0
2015-09-06 22:42:55.887 /usr/bin/tv_grab_file:   episodes   tot=    0 new=    0 mod=    0
2015-09-06 22:42:55.887 /usr/bin/tv_grab_file:   broadcasts tot=    0 new=    0 mod=    0

TVheadend seems to find the xmltv file (which was created with mc2xml) and is able to find the channels in it. (Tried with different lists with different numbers of channels)
However, it doesn't find any more info, although it is in the file. (the xmltv file mainly consists of <channel> and <programme> )

I tried this multiple times on clean installs of ubuntu 14.04.3. Installed xmltv via the app center and terminal...

In TVheadend I added an IPTV network, added multicast streams as muxes / services, then mapped those services to channels. After xmltv file creation via mc2xml and installation of the tv_grab_file grabber, I chose an epg grab source for every channel and saved, restarted, refreshed, reseted etc... everything multiple times but there still is no info populating in the EPG tab of the web GUI. ("No Data to display")

As said, I've spent some time googling this as well, and there are/were some people who had the same issue/log result, however the "solutions" that worked for them, don't work for me.
Here are some of the threads I already checked (to avoid duplicate info):
https://tvheadend.org/boards/4/topics/17508?r=17518
https://tvheadend.org/boards/5/topics/12709?r=12994
https://tvheadend.org/boards/12/topics/14437?r=15824

If anyone could give me a hint what I could try to do to find out why TVheadend isn't adding the <programme> info from the xmltv to the selected channels, I'd highly appreciate it.

P.S. I could reproduce the same problem/log output, by disabling internal grabber und sending the data directly to the socket with:

sudo /usr/bin/tv_grab_file | sudo socat - UNIX-CONNECT://home/hts/.hts/tvheadend/epggrab/xmltv.sock

Replies (3)

RE: EPG via XMLTV and tv_grab_file - Added by Charlie Jahng over 8 years ago

I have the exactly same issue. I'm working on tvheadend v4.0.9 and v4.1 in CentOS 6.7(actually 6.8 upgraded now).
I read the previous similar issues and I verified all steps I have to set up and there seems no mistake.
Actually I got EPG program data once on tvheadend EPG tab and it was before I installed ffmpeg to test transcoding function of tvheadend. When I install ffmpeg, I have to update OS using "yum update" which lead me to CentOS 6.8. There were conflicts of kernel versions between CentOS 6.7 and 6.8 when compiling sources but I bypassed this issue by assigning link properly under help from googling.
Anyway, after I update OS, I did all steps to install tvheadend with ffmpeg, everything looks fine except that there is no EPG program data on tvheadend. Of course I mapped the channel sources to XMLTV entries well. I tested internal grapbber as well as external grabber. In both internal and external grabber, I could find the channels well. When I change xmltv.xml file contents to other country, then I could find the change of channel lists in tvheadend well.

I fought with tvheadend and XMLTV for several days and still I have no idea to solve it.
Is it a kind of trouble in kernel versions? Or issue about XMLTV data using microsoft.com? Or any other reason?
I attached the current xmltv.xml file which was downloaded using mc2xml(encoded with UTF-8 for Korean language) for reference.

Thank you for any comment.

Charlie.

xmltv.xml (23.7 MB) xmltv.xml

RE: EPG via XMLTV and tv_grab_file - Added by K Shea over 8 years ago

mc2xml stopped working to get free listings month ago. Use zap2xml instead.

If that doesn't work you may need to bite the bullet and reinstall everything, including the OS, from scratch. But if you are going to do that, then you might consider using Ubuntu Server rather than CentOS, since Ubuntu seems to be the only OS that TVHeadEnd fully supports (although some people have had good luck with Debian).

RE: EPG via XMLTV and tv_grab_file - Added by Charlie Jahng over 8 years ago

Thank you for right information.
There was no mistake in setting tvheadend and xmltv but the tv guide data in xmltv.xml was old with no update so that no current tv guides are not displayed in tvheadend.

mc2xml looks stopping update service recently. I tried to use zap2xml but unfortunately I could not find Asian(Korean) TV guides from zap2it.

    (1-3/3)