Bug #2224
xmltv.sock not created on start up
0%
Description
Been meaning to report this one for a while, but when you start TVHeadend the xmltv.sock file isn't created
If you do a "watch 'ls -lha /home/hts/.hts/tvheadend/epggrab/'" while TVHeadend starts you see
-rwx------ 1 hts video 369 Aug 13 20:36 config drwx------ 2 hts video 12K Aug 13 20:36 otamux srwxrwxrwx 1 hts video 0 Aug 13 20:55 pyepg.sock drwx------ 3 hts video 4.0K Oct 25 2012 xmltv
Eventually change to
-rwx------ 1 hts video 369 Aug 13 20:36 config drwx------ 2 hts video 12K Aug 13 20:36 otamux srwxrwxrwx 1 hts video 0 Aug 13 20:55 pyepg.sock drwx------ 3 hts video 4.0K Oct 25 2012 xmltv
However the xmltv.sock file isn't created, instead you have to go into the webgui and on the "Configuration > Channel/EPG > EPG Grabber" page you need to click Save configation (NOTE The XMLTV socket was already enabled so the only action was to click Save configuration), at which point it changes to
-rwx------ 1 hts video 369 Aug 13 20:36 config drwx------ 2 hts video 12K Aug 13 20:36 otamux srwxrwxrwx 1 hts video 0 Aug 13 20:55 pyepg.sock drwx------ 3 hts video 4.0K Oct 25 2012 xmltv srwxrwxrwx 1 hts video 0 Aug 13 20:57 xmltv.sock
And the xmltv.sock file is now available for netcatting.
Subtasks
History
Updated by Jaroslav Kysela over 10 years ago
- Status changed from New to Need feedback
Tried as described, but I see the socket file after restart:
2014-08-14 16:16:51.479 [ INFO] xmltv: external socket enabled
$ ls -la cfg/epggrab/
srwxrwxr-x 1 perex perex 0 14. srp 16.16 xmltv.sock
Updated by Jaroslav Kysela over 10 years ago
Note that the patch in v3.9-1296-g1dc009a affects also xmltv...
Updated by Kev S over 10 years ago
It has indeed fixed the socket not getting created on startup (although I did notice after installing that the XMLTV box has been unticked, ticking it obviously enabled and that stuck after a restart).