Project

General

Profile

XMLTV.SOCK gets permissions modified and zero size.

Added by Terry Kramer over 8 years ago

I am a newbe to Ubuntu/Linux.

I have installed tvheadend 4.0.8 on 14.04 Ubuntu.

Live in western US where all over air digital broadcast is ATSC. I found out today that the in-air EPG via ASTC is not supported in tvheadend. Is that correct?

Anyway. I have a trial with Schedules Direct.

Using mc2xml, I have successfully downloaded a xmltv.xml file. Looked inside, and it looks like legit xml code, with channel and programming info.

I moved the file to /home/hts/.hts/tvheadend/eppgrab

then made a copy of it under the name xmltv.sock

set owner to hts and group to video.

stop and start the tvheadend service.

the xmltv.sock file size gets reset to 0 and the permissions are changed (see attached file)

That is an interesting mystery to me.

I look in the syslog, and I do not see any obvious messages during tvheadend startup that indicated that tvheadend tried to read the xmltv.sock file, or that it incurred sometype of error.

But the EPG never gets populated in the tvheadend (localhost:9981) tab views.

I have sync the channel names per other thread feedback.

Can anyone give me a clue to what is going on?

Does tvheadend destroy the xmltv.sock file after it reads it?

What in the syslog tells me when the socket is initialized and the reading starts/ends?

Attached is a file that shows the syslog output during tvheadend startup, plus the before and after output from ls -lh

Thanks in advance for help.

Syslog (4.81 KB) Syslog Syslog for tvheadend startup
xmltv mystery (1.14 KB) xmltv mystery xmltv.sock before and after

Replies (1)

RE: XMLTV.SOCK gets permissions modified and zero size. - Added by Terry Kramer over 8 years ago

Figured it out myself. I thought that xmltv.sock was a data repository that would be read by tvheadend on some type of schedule. Put xmltv.xml from "schedules direct" into xmltv.sock click the Trigger OTA EPG Grabber button, and tvheadend would read it.

Not the case. I used "cat xmltv.xml | socat - UNIX-CONNECT:/home/hts/.hts/tvheadend/epggrab/xmltv.sock" and the socket came alive!

Guide shows in TVHEADEND and KODI!

Nice.

    (1-1/1)