Re: tv_extractinfo_en problem again!

dekarl <[email protected]>
Newsgroups gmane.comp.tv.xmltv.general
Message-ID <1201337068.952730.1304622562186.JavaMail.fmail@mwmweb034>
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

Regards,
Karl

___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

------------------------------------------------------------------------------
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
_______________________________________________
xmltv-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmltv-users
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.