[mythtv-users] Immir tv_grab_au again!

first last jollygoodshow at hotmail.com
Sat Jun 17 15:57:11 UTC 2006


>Code point \u0011 is not a valid character in XML at 
>/usr/lib/perl5/vendor_perl/5.8.8/XMLTV.pm line 1757

It seems some of the javascript decoding routines that they are
sending with the the obfuscated data are buggy - they decode the text
to non-printable characters.  I modified get_content_base() to refetch
the URL if the decoded page contained bogus characters, the next fetch
usually works although occasionally two or three refetches are required.
It works but it's not very elegant.

The other problem:

>sub-title element: stripping trailing whitespace from value 'Part 1 '
>for sub-title at /usr/share/perl5/XMLTV.pm line 1725, <> line 2.
>bad data inside programme element, not writing

I fixed by "$title2 =~ s/\s+$//;" in get_closeup_details().  Not sure
why the same code in XMLTV.pm doesn't seem to work.

-jgs

_________________________________________________________________
Research and compare new cars side by side at carpoint.com.au 
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F833884&_t=54321&_r=hotmail_endtext&_m=EXT



More information about the mythtv-users mailing list