A script to scan antenna channels and update Channels DVR

Hi everybody! I live in a very rural area and my antenna's not in a great spot, so over the course of the day certain channels will often come and go. So I wrote a little script to trigger a channel scan on my HDHomerun, refresh Channel DVR's lineup, and then force a guide update if the number of channels changed from the last run. To avoid interruptions to recordings or live viewing, the script will check to make sure no tuners are currently locked before starting the scan. Fill out the "Fill in your options here" section with your setup's info, and then use the tool of your choice to run the script on the schedule you want. Or just run it manually. Personally, on macOS I use LaunchControl to run the script every hour at minute 58.

5 Likes