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 »

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 »

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 »

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 »

Cheers!

I'll give b6 a go tomorrow.
Post Reply