[mythtvnz] Bug in mhegepgsnoop-0.5.1.py
David Moore
dmoo1790 at ihug.co.nz
Sun Mar 24 00:50:27 GMT 2013
On 24/03/13 11:50, Robin Gilks wrote:
> Just when I thought it was all working!!
>
> I've discovered that the 'midnight corrections' in mhegepgsnoop are not
> working as expected.
>
> If a program starts at 23:00 for 2 hours then it will appear in the
> schedule at 23:00 for 1 hour and then again at 00:00 for the second hour.
>
> This example actually starts at a quarter to midnight...
>
>
> <programme start="20130324234500 +1300" stop="20130325000000 +1300"
> channel="tv1.freeviewnz.tv">
> <title>Q+A</title>
> <desc>Q+A presents hard-hitting political news and commentary. Keep in
> touch with what is truly going on in New Zealand.</desc>
> <episode-num system="dd_progid">10322125</episode-num>
> </programme>
> <programme start="20130325000000 +1300" stop="20130325005500 +1300"
> channel="tv1.freeviewnz.tv">
> <title>Q+A</title>
> <desc>Q+A presents hard-hitting political news and commentary. Keep in
> touch with what is truly going on in New Zealand.</desc>
> <episode-num system="dd_progid">10322125</episode-num>
> </programme>
>
>
> As I say, my python skills are not up to sorting this (if it was written
> in C or assembler...)
>
> Cheers
>
That's odd. I just ran: ./mhegepgsnoop-0.5.1.py -z -o testz.xml
and I got one entry for the show correctly crossing midnight:
<programme channel="FV-tvone" start="20130324234500 +1300" stop="20130325005500 +1300">
<title>Q+A</title>
<desc>Q+A presents hard-hitting political news and commentary. Keep in touch with what is truly going on in New Zealand.</desc>
<episode-num system="dd_progid">10322125</episode-num>
</programme>
More information about the mythtvnz
mailing list