XML file has 00 month timestamps (and 2006 dates)

Discussion of Version 3 and developing lua grabbers
Post Reply
bgowland

XML file has 00 month timestamps (and 2006 dates)

Post by bgowland » Mon Nov 28, 2005 3:45 am

Hi Alan,

sub diagnosed this when I started getting EPG import errors in GB-PVR a week or so ago - I've only just got around to getting the time to pass this on...

Example from my data.xml...

<programme start="20051130234000 +0000" stop="20060001003500 +0000" channel="london.bbc1.bbc.co.uk">
<title lang="en">Alfie</title>

Note - the start date is 30th Nov. but end is 20060001 and 00 isn't a valid month.

There are a good number of entries like this in there but I can't see any pattern.

Cheers,
Brian

alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Post by alanbirtles » Mon Nov 28, 2005 11:45 am

fixed, <fix is now part of beta 6>
Last edited by alanbirtles on Tue Nov 29, 2005 12:45 pm, edited 2 times in total.

alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Post by alanbirtles » Mon Nov 28, 2005 12:15 pm

the same bug is in lib\timezones.lua
change

Code: Select all

while date.Month>=12 do
to

Code: Select all

while date.Month>12 do

bgowland

Post by bgowland » Wed Nov 30, 2005 5:23 am

Cheers!

I'll give b6 a go tomorrow.

Post Reply