Mark Partridge wrote:
> I am simply running a wget direct from a cron job to download the xmltv file from a web link.
>
> I was not aware of the method you mention, but I will do some reading. Will it allow me to pull the file direct from a web link?
http://docs.tvheadend.org/webui/config_epggrab/
That link contains the information on configuring the XMLTV socket. Basically, you go to
Configuration > Channel / EPG > EPG Grabber Modules@, and from there select the @External: XMLTV
grabber. Select "Enable" and save, and the "Path" field will tell you where the socket is. (On my installation, that's @/home/hts/.hts/tvheadend/epggrab/xmltv.sock@.)
Then, modify your cronjob so that instead of just saving your XMLTV file, you pipe it to that socket (using netcat, socat, &c.), i.e.: @curl -sSL [URL of XMLTV file] | netcat -u /home/hts/.hts/tvheadend/epggrab/xmltv.sock@, replacing the URL of wherever you are downloading your XMLTV file from.