[mythtv-users] XMLTV not working?

Curtis Stanford curtis at stanfordcomputing.com
Sat Aug 30 18:18:29 EDT 2003


Yes, I just noticed the same problem. I have no listings anymore in the EPG. 
Did you find a solution?

On August 29, 2003 10:22 pm, Brent Ellis wrote:
> Is anyone having a problem with XMLTV not getting listings because of
> an error in line 1025 of ZapListings.pm?  Did tvguide.com or wherever
> xmltv gets listing from change their format or something.  It just
> seems like it is not getting the data the way it expects to.
>
> here is the code in context:
>
> for my $row (split(/<tr/, $html)) {
>          # nuke everything leading up to first >
>          # which amounts to html attributes of <tr used in split
>          $row=~s/^[^>]*>//so;
>          $row=~s/<\/tr>.*//so;
>
>          $rowNumber++;
>
>          # remove space from leading space (and newlines) on every line
> of html
>          $row=~s/[\r\n]+\s*//og;
>
>          my $result=new XMLTV::ZapListings::ScrapeRow()->parse($row);
>
>          my $desc=$result->summarize();   # This appears to be the row
> that has the problem.
>          next if ( !$desc );
>
>          my $nchannel;
>
>
>
> -Brent



More information about the mythtv-users mailing list