This is brilliant Stuartf - works a treat. I considered SD in the past but they say that's it's only for free software (like NextPVR) whereas EyeTV is a paid application.
I use an M2 MacBook Air running EyeTV4 on Sonoma with a Netstream4Sat tuner and all is well.
BTW BBC1 HD is there.
The only thing I can't do is to get the script to import the xml file into EyeTV. I have to save the xml data in the Terminal output to a separate xml file and then drag the file onto the EyeTV icon. I suspect that I'm doing something wrong, however.