On Oct 2, 2006, at 11:35 AM, Duncan Webb wrote: > John Molohan wrote: >> Rob Davis wrote: >> >>> It seems like my xml feed sometimes forgets to terminate with >>> >>> </tv> >>> >>> Is there a way to get Freevo to handle this error without throwing a >>> wobbly and ignoring the whole list.. >>> >>> >> Could do but you'd probably be better fixing the grabber bug >> rather than >> getting freevo to work around it. Try to debug the grabber and report >> the error to the xmltv list see how you get on. If you don't get >> anywhere a bash script to check the sanity of your tv.xml file and >> fix >> it if necessary would be the easiest solution. >> >>> (I can detail the whole wobbly if you would like, but by deduction >>> was done on a different machine to this email.) Essentially it had >>> an error with the last line, where I discovered no </tv>. >>> >>> Manually sticking one in and re running the tv viewer fixed the >>> problem. >>> > You should check if the grab is ok by looking at the end of the > file, I > suspect, like John, that the grab is incomplete. > > If it is okay a quick fix is to echo "</tv>" >> TV.xml and then do a > tv_sort.
Yup, that's what I should have done.. grabbing: 84% [======================================================================= ===================================== ]http:// xmltv.radiotimes.com/xmltv/1961.dat: Code point \u0000 is not a valid character in XML at /usr/lib/perl5/site_perl/5.8.6/XMLTV.pm line 1746 Ideas? Am just about to sign up for the xmltv list.. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
