Stuart, Thanks a bunch. Tvheadend was doing my head in. Kind of got it half working but certainly not to the level of EyeTV in spite of all its faults.
Couple of issues I found, I selected and pasted "/opt/local/bin/tv_grab _uk_tvguide --configure" but eventually discovered that it contained a control code <feff>. Back delete to correct a typo? Also in your script "~/.xmltv/xmltv_refresh.sh" it starts with "!/bin/bash", believe it should be "#!/bin/bash"
You were correct re having to go through 1000ish entries to get the 20 or 30 you wanted but I found you could repeat the process to get ones you missed as long as you carried on to the end, it didn't delete previous configuration. Screenshot attached
For your info, I'm running this on a 2018 Mac mini with Monterey 12.4 and EyeTV4. Would love to get a hold of the EyeTV3 code and see about converting it to 64 bit which is what Geniatech should have done in the first place. 4 is rubbish compared to 3.
Thanks again!
Now have this running in launchd under user agents to run at 05:00 & 17:00.
xmltv.plist file goes in directory ~/Library/LaunchAgents/ and xmltv_refresh.sh goes in ~/.xmltv
I've added some lines to tidy up stderr & stdout files. You will need to install coreutils to use this as xmltv_refresh.sh contains the command gdate which is not a OSX native command.
The command sudo port install coreutils since you've already installed . I already have it installed via Homebrew.
xmltv_refresh.sh xmltv.plist