Hello,
Was trying to follow above guide line to import my xml file to tvheadend, but failed
I am using WebGrab++ to get the xml first and try to use @giaur500 method to import the file to /storage/.kodi/userdata/addon_data/service.tvheadend42/epggrab/xmltv.sock by using socat or nu or curl , socat and nu was not included in my coreelec. Only curl included, and when i am trying to input the xml by curl with below command got the error.
LibreELEC:~ # curl -o /storage/.kodi/userdata/addon_data/service.tvheadend42/epggrab/xmltv.sock http://xxxxxxxxx/xmltv.xml
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0Warning: Failed to create the file
Warning: /storage/.kodi/userdata/addon_data/service.tvheadend42/epggrab/xmltv.s
Warning: ock: No such device or address
100 312 100 312 0 0 14857 0 --:–:-- --:–:-- --:–:-- 14857
curl: (23) Failed writing body (0 != 312)
LibreELEC:~ #
Would like to ask if anyone know why this is happening? and if i use WinSCP to login to coreelec directly and replace the xmltv.sock, is it going to work the same ?
Also i am not sure how the EXTERNAL : XMLTV works, dont know how to triggers this, is it the grabber will grab the xml once i enable it ? or if the xmltv.sock file once renewed, it will auto update the epg immediately ? is there any other setting need to be done ? does it need to disable the OTG setting in TV adaptor tab and empty the EPG module id under MUXES tab ?
Because i tried replace the xmltv.sock directly with a .xml file, and reboot the coreelec, it wont import the xml, but i can see the xmltv.sock will turn to 0 byte after i reboot the system.
i did change the channel id in the .sock file to match the currect channel, eg :
< programme start=“20210122060000 +0800” stop=“20210122070000 +0800” channel=“31dee8946e416198ae0d9d31a046fa94”>
XXXXXX</title
/programme>
Sorry so many questions… Thank you all !