From: Mike D. <du...@us...> - 2006-04-15 12:07:30
|
Update of /cvsroot/xmltv/xmltv/grab/il In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25613 Modified Files: tv_grab_il Log Message: minor fixes Index: tv_grab_il =================================================================== RCS file: /cvsroot/xmltv/xmltv/grab/il/tv_grab_il,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** tv_grab_il 13 Apr 2006 18:07:34 -0000 1.10 --- tv_grab_il 15 Apr 2006 12:06:58 -0000 1.11 *************** *** 422,425 **** --- 422,426 ---- my $detail2 = $detail->parent->look_down('_tag', 'TD', 'class', 'prnameTD'); my $progname = tidy($detail2->content->[0]->as_trimmed_text); + next if ( $progname eq ""); if ($grabber_config->{'LANG'} =~ /^ru_/) { if ( $progname =~ /\(P\)(.+)/) { *************** *** 546,550 **** my $user_xmltvid = ask("xmltvid template (default $opt_xmlid_tmpl) :") || $opt_xmlid_tmpl; ! print CONF "xmltvid_tmpl $opt_xmlid_tmpl\n"; my $bar = new Term::ProgressBar('getting channel list', 1) if Have_bar && not $opt_quiet; --- 547,552 ---- my $user_xmltvid = ask("xmltvid template (default $opt_xmlid_tmpl) :") || $opt_xmlid_tmpl; ! print CONF "xmltvid_tmpl $user_xmltvid\n"; ! $opt_xmlid_tmpl = $user_xmltvid; my $bar = new Term::ProgressBar('getting channel list', 1) if Have_bar && not $opt_quiet; *************** *** 689,696 **** $genre_string =~ /genre\/(.*)\.gif/; next unless $starttime; next unless $genre_string; ! next if ($progname eq "---"); if (not defined $icons{$channel}) { my $icon = $tree->look_down('_tag', 'img', --- 691,699 ---- $genre_string =~ /genre\/(.*)\.gif/; + next unless $progname; next unless $starttime; next unless $genre_string; ! next if ($progname eq "---" || $progname eq ""); if (not defined $icons{$channel}) { my $icon = $tree->look_down('_tag', 'img', |