[mythtvnz] Opps @ nzepg.org

Robin Gilks g8ecj at gilks.org
Tue Mar 23 09:37:10 GMT 2010


Seems to be something missing - the data!!

EPG listings for New Zealand
[ICO]	Name	Last modified	Size	Description
[ ]	all.xml.gz	23-Mar-2010 09:27 	20 	  Everything available
[ ]	freeview.xml.gz	23-Mar-2010 09:27 	20 	  Freeview from web


In the meantime here is my latest offering, untested due to the problem
above, and using the latest BZR version of epgsnoop and Hads xmltv-join
(although tv_cat from the xmltv package could be used). I've not applied
xmltv-proc-nz processing to the Sky stuff as I'm still messing about with
the config files so that I only capture the channels I have on my
subscription and no sense in hammering tmdb for stuff I can't watch!! The
freeview data already has the extra xmltv-proc-nz processing anyway.

It assumes you have a web server running to allow the piping of the data
into tv_grab_nz-py which has had the data url adjusted accordingly.

#!/bin/bash

HOME="/home/mythtv"
PATH=$PATH:/usr/local/bin

LISTINGS_SKY="/tmp/listings-sky-$$.xml"
LISTINGS_FREEVIEW="/tmp/listings-freeview-$$.xml"
LISTINGS_ALL=$HOME/public_html/epg/listings-all.xml.gz

wget -q -O - http://nzepg.org/freeview.xml.gz | gunzip -c >
$LISTINGS_FREEVIEW
/usr/local/bin/epgsnoop --quiet --lnb=11300 --tune=12671 --tune-retries=7
--config-dir=$HOME/.epgsnoop > $LISTINGS_SKY

xmltv-join $LISTINGS_SKY $LISTINGS_FREEVIEW | gzip -c > $LISTINGS_ALL

rm -f $LISTINGS_FREEVIEW
rm -f $LISTINGS_SKY



Cheers

-- 
Robin Gilks






More information about the mythtvnz mailing list