<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Times New Roman, Times, serif">Hi All,<br>
<br>
I'm a noob, but here is a very simple shell script for pulling NZ
EPG data (8 days' worth) into your MythTV backend. <br>
<br>
Apologies to all if this is telling you how to suck eggs, but the
various other methods on geekzone and this mailing list either
seemed a) complicated or b) didn't work for me (tv_grab_nz-py and
Myth on my setup didn't work properly - possibly something to do
with Arch linux running Python 3).<br>
<br>
As you can see, this script will download the freeview.xml.gz file
from nzepg.org, unzip it, install it into Myth's backend, then
clean up. Running it as a cron task daily at 3am, you never need
be without an up-to-date EPG!<br>
<br>
<b>#! /bin/bash<br>
wget <a class="moz-txt-link-freetext" href="http://nzepg.org/freeview.xml.gz">http://nzepg.org/freeview.xml.gz</a><br>
gunzip freeview.xml.gz<br>
mythfilldatabase --file 1 freeview.xml --update<br>
rm freeview.xml<br>
exit<br>
<br>
<br>
</b></font>
</body>
</html>