Updated EPG instructions for MythTV in New Zealand

I’ve been learning a bit more about Linux over the last few weeks and updated my electronic program guide (EPG) configuration to better reflect “standard” file location usage. The changes work better for my backup strategy as well as I do not backup any directory that starts with a dot.

  1. The location of the EPG script has changed. The EPG related scripts are now in the /home/mythtv/epg directory. Within that directory are two further directories. One for the old xmlTVNZ EPG configuration and the other for the new nice EPG configuration.
  2. The name of the EPG script has been changed. It is now simply called nice.sh and lives in the /home/mythtv/epg directory.
  3. The nice.sh script has been modified to log to the /var/log/mythtv directory:
    cd /home/mythtv/epg/nice
    wget http://nice.net.nz/epg/listings.xml.gz
    gunzip -f listings.xml.gz
    rm /var/log/mythtv/mythfilldatabase.log
    mythfilldatabase --no-delete --file 1 -1 listings.xml --update > /var/log/mythtv/mythfilldatabase.log

One Response to “Updated EPG instructions for MythTV in New Zealand”

  1. hads says:

    You may be interested in the tv_grab_nz-py grabber. As of the 0.20.2 release you can use this with mythfilldatabase automatically. It will also filter the channels to the ones you specify for you automatically.

    Another thing that may be of interst is the listings-sky.xml.gz feed. This is generated by the new version of epgsnoop and has better info and new more descriptive XMLTVIDs.