<div dir="auto">I see that I only have 3 days left too.<br><br><div data-smartmail="gmail_signature">Robert Fisher</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 27 Jul 2019, 6:35 PM Adam Bennetts, <<a href="mailto:abennetts@gmail.com">abennetts@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Has the new data been moved over by any chance? Guide data hasn't been<br>
downloading for the last few days (since Tuesday maybe?). I had a<br>
chance to take a look today. On my box something isn't quite right, it<br>
seems tv_grab_nz-py 0.2.7 can't follow the redirect.<br>
<br>
I fixed by changing:<br>
<br>
    if res.status != 200:<br>
        return False<br>
<br>
to<br>
<br>
    if res.status != 200:<br>
        log.error('HTTP Status: %s' % res.status)<br>
        return False<br>
<br>
to log HTTP errors and found the 301 redirect that was failing.<br>
<br>
And then this change:<br>
<br>
    h = httplib.HTTPConnection(host)<br>
<br>
to<br>
<br>
    h = httplib.HTTPSConnection(host)<br>
<br>
I then changed the source as I still seem to have a redirect issue<br>
with the original location (I checked the redirect itself and it's<br>
fine so my initial though that using HTTPSConnection would allow it to<br>
follow may not be right). Even if it doesn't resolve the redirect the<br>
change is needed.<br>
<br>
     '<a href="http://epg.nz/freeview.xml.gz" rel="noreferrer noreferrer" target="_blank">http://epg.nz/freeview.xml.gz</a>',<br>
<br>
I also tried the new guide data at <a href="https://epg.nz/epg.xml" rel="noreferrer noreferrer" target="_blank">https://epg.nz/epg.xml</a> and didn't<br>
see any obvious issues with it. There are differences to old data<br>
(subtitles?) that mean some recording rules duplicate checks needed to<br>
be changed but that's not a guide data issue.<br>
<br>
Thanks for the data, much appreciated.<br>
<br>
Cheers.<br>
<br>
On Tue, 16 Jul 2019 at 12:07, Hadley Rich <<a href="mailto:hads@nice.net.nz" target="_blank" rel="noreferrer">hads@nice.net.nz</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> The box that generates the listings for <a href="http://epg.org.nz" rel="noreferrer noreferrer" target="_blank">epg.org.nz</a> is going away in the<br>
> near future.<br>
><br>
> That doesn't mean that the listings are going away, just the old box and<br>
> tuner card etc. that is used to capture the listings - it's pretty old now.<br>
><br>
> I'm testing out a new version of listings that doesn't require any<br>
> physical hardware, you can test a sample here:<br>
><br>
> <a href="https://epg.nz/epg.xml" rel="noreferrer noreferrer" target="_blank">https://epg.nz/epg.xml</a><br>
><br>
> This will be replacing the existing data. I believe it's currently<br>
> missing a few fixups etc. that the existing data has which will be<br>
> worked on as time permits.<br>
><br>
> If anyone wants to test it out and report any obvious errors that would<br>
> be appreciated.<br>
><br>
> Once it's ready the old URL will be re-pointed so scripts should all<br>
> continue to work etc. with minimal interruption hopefully.<br>
><br>
> Cheers,<br>
><br>
> hads<br>
> --<br>
> <a href="http://nice.net.nz" rel="noreferrer noreferrer" target="_blank">http://nice.net.nz</a><br>
><br>
> _______________________________________________<br>
> mythtvnz mailing list<br>
> <a href="mailto:mythtvnz@lists.ourshack.com" target="_blank" rel="noreferrer">mythtvnz@lists.ourshack.com</a><br>
> <a href="https://lists.ourshack.com/mailman/listinfo/mythtvnz" rel="noreferrer noreferrer" target="_blank">https://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
> Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" rel="noreferrer noreferrer" target="_blank">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
<br>
_______________________________________________<br>
mythtvnz mailing list<br>
<a href="mailto:mythtvnz@lists.ourshack.com" target="_blank" rel="noreferrer">mythtvnz@lists.ourshack.com</a><br>
<a href="https://lists.ourshack.com/mailman/listinfo/mythtvnz" rel="noreferrer noreferrer" target="_blank">https://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" rel="noreferrer noreferrer" target="_blank">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
</blockquote></div>