Project

General

Profile

TVH - EPG Grabber + Over-the-air EPG - No XML Data being passed through to the "Electronic Program Guide"

Added by d n over 2 years ago

Hi guys,

I've got TVH running well with "over-the-air" streams and EPG (coming from my HDHomerun) & I've got 10 or so IPTV world streams also configured in TVH (such as RT, CNN, Aljazera etc) also working fine stream wise, but I'm having a few issues with combining EPG data for these streams....

My configuration / flow (for EPG's): (There's nothing wrong with getting the data into TVH, more just a heads up how it's configured)
  1. Over-the-air EPG Grabber configured with Priority #1 (for channels from my HDHomerun)
  2. XMLTV Grabber Module enabled (for my IPTV streams) and the socket file is configured at:
    /config/epggrab/xmltv.sock
  3. I've got a docker container configured with Webgrabplus - It pulls in all the EPGs I've setup correctly and saves them locally to disk each night
  4. Once the XML file has been written by Webgrabplus I'm piping it into TVH like so:
    cat /path/to/wegrabplus/guide.xml | socat - UNIX-CONNECT:/config/epggrab/xmltv.sock
The problem / current state: (I suspect it's something simple in the TVHeadend config I'm missing)
  1. EPG's grabbed via Wegrabplus are showing in TVH under the "EPG Grabber Channels" fine ...
  2. I've then gone and assigned the "EPG sources" to the "EPG Grabber Channels" for any of my IPTV streams that don't have the default "over-the-air" EPG data
  3. When I go to the "Electronic Program Guide" in TVH, I can't see any of the EPG Data for my IPTV streams, only my over-the-air EPG data...

I know that data's getting into TVH fine because the "EPG Grabber Channels" is being populated, so the problem's not going to be my Wegrabplus but more likely how it's configured in TVH...

Anyone have any suggestions?
(Screenshots attached also - Thanks in advance)


Replies (6)

RE: TVH - EPG Grabber + Over-the-air EPG - No XML Data being passed through to the "Electronic Program Guide" - Added by Hiro Protagonist over 2 years ago

Don't have a solution for you but: "I know that data's getting into TVH fine because the "EPG Grabber Channels" is being populated"

This only tells you that the data has contained valid channel definitions, not that it contains relevant programme info.

If you open the log viewer [the double ^ at the bottom of the page] and pipe in the XML data, what shows in the log?

RE: TVH - EPG Grabber + Over-the-air EPG - No XML Data being passed through to the "Electronic Program Guide" - Added by d n over 2 years ago

Ok, so i'm seeing the following:

2018-08-23 16:19:16.998 xmltv: xmltv: grab took 0 seconds
2018-08-23 16:19:17.000 xmltv: xmltv: parse took 0 seconds
2018-08-23 16:19:17.000 xmltv: xmltv:  channels   tot=   21 new=    0 mod=    0
2018-08-23 16:19:17.000 xmltv: xmltv:  brands     tot=    0 new=    0 mod=    0
2018-08-23 16:19:17.000 xmltv: xmltv:  seasons    tot=    0 new=    0 mod=    0
2018-08-23 16:19:17.000 xmltv: xmltv:  episodes   tot=    0 new=    0 mod=    0
2018-08-23 16:19:17.000 xmltv: xmltv:  broadcasts tot=    0 new=    0 mod=    0

Even though it says there's no episodes, broadcasts or seasons (which is obviously my problem)... I've got the following in my XML EPG file:

<?xml version="1.0" encoding="UTF-8"?>
<tv generator-info-name="WebGrab+Plus/w MDB &amp; REX Postprocess -- version V2.1.5 -- Jan van Straaten" generator-info-url="http://www.webgrabplus.com">
  <channel id="Russia Today Documentary">
    <display-name lang="sr">Russia Today Documentary</display-name>
    <url>http://www.tvportal.rs</url>
  </channel>
  <programme start="20180819162500 +0200" stop="20180819170000 +0200" channel="Russia Today Documentary">
    <title lang="sr">King, Chimp and the Playa Arts &amp; Culture</title>
  </programme>
</tv>

(Obviously there's more channels in there - I've just included one here to not spam the forum post)

Question:
Is it not able to read "programme" tags? - This is what it defaults to with Wegrabplus -- https://github.com/linuxserver/docker-webgrabplus

RE: TVH - EPG Grabber + Over-the-air EPG - No XML Data being passed through to the "Electronic Program Guide" - Added by d n over 2 years ago

Just an update - I ended up getting it working using the Internal WebGrab+ module and configuring it on a cron...

Not 100% ideal but it will do - I really wanted to get it working with Unix Sockets so that I could pipe data to it / trigger a refresh on-demand rather than on a regular schedule.

Cheers,

RE: TVH - EPG Grabber + Over-the-air EPG - No XML Data being passed through to the "Electronic Program Guide" - Added by Hiro Protagonist over 2 years ago

That grab log does confirm my suspicions, you've got channel info & not a lot else.

The programme tags are what is required to populate the EPG, & what you have there looks well formed, but:

programme start="20180819162500 +0200" stop="20180819170000 +0200"

This program starts on Aug 19th, which is in the past. Does your XML contain any programme tags that are in the future? That's what you need for it to be useful.

RE: TVH - EPG Grabber + Over-the-air EPG - No XML Data being passed through to the "Electronic Program Guide" - Added by d n over 2 years ago

This program starts on Aug 19th, which is in the past. Does your XML contain any programme tags that are in the future? That's what you need for it to be useful.

Sorry, that was from an old code snippet I posted on Reddit,
Here's EPG from today - Like i said earlier - It's working fine with the internal WebGrab+ module - just not via the Unix Socket direct to TVHeadend method.

  <programme start="20180824233000 +1000" stop="20180825001000 +1000" channel="NHK World">
    <title lang="en">Kawaii International</title>
    <desc lang="en">Capture the essence of the Tokyo's fabulous pop-culture in "Kawaii" style. Everything Kawaii followers worldwide want to know can be found here! Today: Pretty-style Kawaii.(n)</desc>
  </programme>
    (1-6/6)