But you still can load as many xmltv files via socket as you want with external xmltv grabber. I assume you have .xml files you want to load or you have some source where you can download them from.
You only need to add cron job on device where tvh is running (that may be your box itself)
There is nothing else to write ⦠enable external xmltv socket in tvh, then write file content to that socket. Epg data will be automatically loaded to tvheadend database. Then you can map xmltv entries to channels in tvheadend settings (in case when xmltv channel name is not the same as your providerās channel name so it canāt be auto handled).
I always preffer external grabber, as itās more flexible and straightforward to configure. The only issue is you need to run it externally, but simple cronjob just does a job without any problem.
I too would like to see a small set of instructions as Iām presently using @cubimol method. Iām particularly interested in the part that describes the āthen write file content to that socketā. Please just a couple of minutes to help a noob and others that donāt understand your method.
Thank you will try that. However I live in a region with several overlapping epg xmlās that will contain duplicates. So if I cat each xml for each area into one xml, like guide.xml is that going to be an issue.
Well it looks like both socat and netcat are not included. Iām running tvh on my Debian server, so I have no problems. I guess recommended way is to create binary addon, compile and install, similar as other programs addons have been created.
āUglyā way you can try to take existing binary + dependecies and try to run it (which it seems you are trying to do)
# nc --help
BusyBox v1.31.0 (2020-04-12 14:38:24 UTC) multi-call binary.
Usage: nc [OPTIONS] HOST PORT - connect
nc [OPTIONS] -l -p PORT [HOST] [PORT] - listen
-e PROG Run PROG after connect (must be last)
-l Listen mode, for inbound connects
-lk With -e, provides persistent server
-p PORT Local port
-s ADDR Local address
-w SEC Timeout for connects and final net reads
-i SEC Delay interval for lines sent
-n Don't do DNS resolution
-u UDP mode
-v Verbose
-o FILE Hex dump traffic
-z Zero-I/O mode (scanning)