Manual MythTV Schedule Update Script

I am in the unpleasant position of having to do a couple of things related to my MythTV server.

  1. The server is off most of the time.  We just don’t use it very often and it doesn’t make sense to keep a dual-core PC running for no reason.
  2. Manually update the tv schedule on my MythTV box. The attached script checks the date on a file and compares it to the current day.

mythtv manual schedule update

Attached script needs zap2xml to write the xml file(s).  Be sure to check your tuner id’s in the database and a couple of other adjustments will probably be required to have the script work for you.  But the fiddly bits about dates and MythTV commands are there.

It should be set up to run on login for your mythtv-backend session, and then perhaps as a cron job.

Questions? Leave them in the comments.

mythtv manual schedule update