Package: xmltv-util Version: 0.5.59-1 Severity: normal Tags: patch Hi there,
If you run tv_grab_combiner and the results from the first grabber contain no programme tags, the results from any subsequent grabber are ignored. Here's a simple patch (note that my Perl isn't great): --- /usr/bin/tv_grab_combiner 2010-11-30 21:46:29.000000000 +0100 +++ tv_grab_combiner_fix-for-empty-guide 2012-03-09 12:16:12.000000000 +0100 @@ -270,7 +270,7 @@ } my $last_prog = $root->findnodes( 'programme[last()]' )->[0] - or return; + or my $last_prog = $last_chan; foreach my $prog ( $t2->findnodes( '//programme' ) ) { $root->insertAfter( $prog, $last_prog ); This works for me, although perl complains a bit about the my $last_prog masking the earlier declaration. Hope this helps, Jan-Pascal -- System Information: Debian Release: 6.0.4 APT prefers stable APT policy: (990, 'stable'), (600, 'testing'), (500, 'unstable'), (10, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xmltv-util depends on: ii libarchive-zip-perl 1.30-3 Perl module for manipulation of ZI ii libcompress-zlib-perl 2.024-1 Transitional dummy package for Com ii libdate-manip-perl 6.11-1 module for manipulating dates ii libdatetime-format-str 1.5000-1 Perl module to parse and format st ii libhtml-parser-perl 3.66-1 collection of modules that parse H ii libhtml-tableextract-p 2.10-3 module for extracting the content ii libhtml-tree-perl 3.23-2 Perl module to represent and creat ii libhttp-cache-transpar 1.0-1 Perl module used to transparently ii libio-stringy-perl 2.110-4 Perl modules for IO from scalars a ii libparse-recdescent-pe 1.965001+dfsg-1 Perl module to create and use recu ii libsoap-lite-perl 0.712-2 Perl implementation of a SOAP clie ii libterm-readkey-perl 2.30-4 A perl module for simple terminal ii libtext-bidi-perl 0.03-5 Unicode bidi algorithm for Perl us ii libtext-iconv-perl 1.7-2 converts between character sets in ii libwww-mechanize-perl 1.64-1 module to automate interaction wit ii libwww-perl 5.836-1 Perl HTTP/WWW client/server librar ii libxml-dom-perl 1.44-1 Perl module for building DOM Level ii libxml-libxml-perl 1.70.ds-1 Perl interface to the libxml2 libr ii libxml-libxslt-perl 1.70-1 Perl module for using the GNOME li ii libxml-parser-perl 2.36-1.1+b1 Perl module for parsing XML files ii libxml-twig-perl 1:3.34-1 Perl module for processing huge XM ii libxml-writer-perl 0.611-1 Perl module for writing XML docume ii libxmltv-perl 0.5.59-1 Perl libraries related to the XMLT ii perl [libcompress-zlib 5.10.1-17squeeze3 Larry Wall's Practical Extraction ii perl-modules 5.10.1-17squeeze3 Core Perl modules Versions of packages xmltv-util recommends: ii liblingua-preferred-perl 0.2.4-3 Perl module which allows language ii libterm-progressbar-perl 2.09-6 Perl module to print a progress ba ii libunicode-string-perl 2.09-3+b1 Perl modules for Unicode strings Versions of packages xmltv-util suggests: pn liblinux-dvb-perl <none> (no description available) ii liblog-tracemessages-perl 1.4-2 Perl module to allow for trace mes pn libtext-kakasi-perl <none> (no description available) pn xmltv-gui <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org