I'm running OpenElec (for Kodi), along with TVHeadend as the TV backend, on DBT/T (Freeview).
On the EPG, currently I can only get +2 hours for TVNZ and TV3/Four channels. I have got +7 days for PRIME.
I figure I need to set up a custom EPG grabber / XML but am not sure what is the best / currently working method as alot of the posts on here on the topic are quite old.
That and I am not sure how to add a custom EPG source into TVHeadend.
The below image shows the EPG Grabber settings in TVHeadend at the moment:

Within "Over the air grabbers" i also have OpenTV: Sky NZ" ticked, but this is DVB/T so don't think that's any help.
I originally also only had 2 hours of PRIME, but since selecting the two External Interface options (XMLTV and PyEPG), PRIME grabbed + 7 days.
Do I need to set up more channels to feed into the XMLTV external inferface?
Any pointers, most appreciated.
And as said, apologies if this has been asked and answered many times; I'm just not sure what is relevant now & will work for Tvheadend/Openelec.
Thanks