TVHeadend - keeping muxes up to date

It’s not easy to find anything that does a channel by channel re-scan like TVs do. I gave up and did it manually - should be only once every few years, after all!