Project

General

Profile

External xmltv does not work "socat unknown device" "nc bad address"

Added by Stefan Ehlers over 2 years ago

Howdy Folks,

I am running into big trouble which drives me crazy.

On a Raspberry Pi3 I am running latest OSMC. I have installed HTS Tvheadend 4.2.8 (which is I think the latest Version for OSMC).
I only enabled External: XMLTV grabber (all others are disabled).
My Path to xmltv.sock is /home/osmc/.hts/tvheadend/epggrab/xmltv.sock
I can see /home/osmc/.hts/tvheadend/epggrab/xmltv.sock and ls -ltr is telling me:

drwx------ 2 osmc video 40960 Apr 22 14:05 otamux
-rw------- 1 osmc video  2296 Apr 22 20:42 config
srwxrwxrwx 1 osmc video     0 Apr 22 21:24 xmltv.sock

osmc is my normal user
I have the epg.xnml file here: /home/osmc/IPTV/EPG/epg.xml

After entering:

cat /home/osmc/IPTV/EPG/epg.xml | socat – UNIX-CONNECT:/home/osmc/.hts/tvheadend/epggrab/xmltv.sock

I am getting the error:
socat[887] E unknown device/address "–" 

After entering:

cat /home/osmc/IPTV/EPG/epg.xml | nc -f /home/osmc/.hts/tvheadend/epggrab/xmltv.sock

I am getting:

nc: can't open '/home/osmc/.hts/tvheadend/epggrab/xmltv.sock': No such device or address

Why is socat and nc not able to find/see xmltv.sock? Is it a permission thing?

I have googled around but did not find anything which would help me.

Therefore I would higly appreciate your help.

Thanks in advance! :)

Stefan