Re: tv_extractinfo_en problem again!

"Mike Holden" <[email protected]>
Newsgroups gmane.comp.tv.xmltv.general
Message-ID <[email protected]>
dekarl wrote:
> Hi Gunga,
>>These are the last few lines of the trace before the crash...
>>==================================================
>>testing word 2.75 at position 37
>>word is '2.75'
>>trying 2.75 as 24 hour time
>>found a time that interprets: 2:75
> ...
>>Looks like tv_extactinfo_en is interpreting the 2.75 as a time, and
>> as an
>>illegal one? Should it be trying to work out times from the <desc>
>> field
>>in the first place?!?!
>
> It's testing if it should split the programme at 2.75. The test
> returns 2:75 as a valid time (which it is not)
>
> try to add a line between 1332 and 1333 before all the tests for
> good hours as follows
> return [0, 0] if $mm > 59;
>
> this should discard any candidate for a time with numbers above 59
> in the minute field

I have to say that that still looks like a bogus path. If the
distance mentioned in the description were 2.39 miles instead of
2.75 miles, it would still be trying to pull out a time (39 < 75),
which is clearly not the right thing to be doing here.
-- 
Mike Holden



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.