Project

General

Profile

XMLTV is working, but not all channels have EPGs

Added by Mark Nettmann about 8 years ago

Me again. I have managed to get EPG data for most of my channels from Schedules Direct. I have a bunch of channels where I have assigned an EPG source, but they show no channel info on the EPG in Kodi.

Is there a particular log I could tail to see why this is the case? As in, restart the tvheadend service, and watch a log while it comes back up to see where the error could be? I see it logs to /var/log/syslog on my system, but I dont see any mention of why the channels in question dont show EPG data.

Any help would be appreciated.

Edit: I am no n00b, I have configured the grabber, and use a crontab entry to schedule it for every 3 days using the xmltv.sock method. I am not looking for a "how 2" but rather just a direction on how to solve my issue. I will write up a guide for this forum if there is interest in this topic.


Replies (1)

RE: XMLTV is working, but not all channels have EPGs - Added by Robert Cameron about 8 years ago

I've noticed that with TVH, EPG information is only populated after the EPG source/channel is linked to a Channel in TVH. So you have to run your grabber to populate the "EPG Channels", then assign those "EPG Channels" to a Channel but setting is as a source, and then finally re-run the grabber so it knows which channel information to actually parse. (I believe that if an "EPG Channel" is not linked as a source for a Channel, TVH will merely ignore the XMLTV entries that have no corresponding Channel.)

In your other post, you seemed to indicate that you were using tv_grab_combined or somesuch, which is a grabber I am unfamiliar with. You are also using the xmltv.sock. It sounds as if your grabber is running multiple grabbers, combining them into a single XMLTV, and then feeding that to the socket. I wonder if this is the problem, as your "combined" XMLTV might not contain all of the information at once, and when TVH receives new XMLTV listings from the socket, some entries may not be present, and so they are removed from its EPG database.

Since TVH supports multiple simultaneous grabbers, why don't you have your individual grabbers themselves being run from within TVH? As long as TVH can find them (in /usr/bin or /usr/sbin, usually), and they have already been set up (by tv_grab_random_grabber_name --configure --config-file /path/to/random_grabber.conf), then enable each one in the TVH grabber module menu, indicating the appropriate --config-file ... in the argument field? That seems like the easiest and most consistent manner ...

    (1-1/1)