<div dir="auto">Hi Hadley,<div dir="auto">Thanks for your work with this.</div><div dir="auto">It seems now though that my daily shows like the chase and TVNZ1 news are seen as duplicates so show as already recorded.<br><br><div data-smartmail="gmail_signature" dir="auto">Robert Fisher</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 28 Jul 2019, 9:25 AM Hadley Rich, <<a href="mailto:hads@nice.net.nz">hads@nice.net.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Adam,<br>
<br>
Thanks very much for the post that's great.<br>
<br>
I'm not currently using the grabber so had forgotten to test that, seems <br>
it's pretty old school and doesn't handle the redirect as you said.<br>
<br>
I've relaxed the config on that site to allow http connections for now <br>
until I can update the grabber to handle that better.<br>
<br>
Feel free to let me know if there are more issues.<br>
<br>
Cheers,<br>
<br>
Hadley<br>
<br>
On 27/07/19 6:33 PM, Adam Bennetts wrote:<br>
> 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>
> <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>