xmltv/filter tv_imdb,1.31,1.32

Jerry Veldhuis <[email protected]>
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/filter
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv29756/filter

Modified Files:
	tv_imdb 
Log Message:
apply patch 94 and 95, add msg when keywords or plots not used

Index: tv_imdb
===================================================================
RCS file: /cvsroot/xmltv/xmltv/filter/tv_imdb,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** tv_imdb	29 Aug 2014 07:52:23 -0000	1.31
--- tv_imdb	21 Feb 2015 04:59:17 -0000	1.32
***************
*** 232,236 ****
  
  END
!   ;
      my %options =
        ('imdbDir' => $opt_imdbDir,
--- 232,236 ----
  
  END
!     ;
      my %options =
        ('imdbDir' => $opt_imdbDir,
***************
*** 270,273 ****
--- 270,274 ----
      ('imdbDir' => $opt_imdbDir,
       'verbose' => !$opt_quiet,
+      'stageToRun' => 'all',
       'downloadMissingFiles' => $opt_download,
      );
***************
*** 349,355 ****
      # The database made by IMDB.pm is read as iso-8859-1. The xml file may be different (e.g. utf-8).
      # IMDB::augmentProgram does not re-encode the data it adds, so the output file has invalid characters (bug #440).
!     
      if (lc($encoding) ne 'iso-8859-1') {
        # decode the incoming programme
        $prog = XMLTV::Data::Recursive::Encode->decode($encoding, $prog);
      }
--- 350,358 ----
      # The database made by IMDB.pm is read as iso-8859-1. The xml file may be different (e.g. utf-8).
      # IMDB::augmentProgram does not re-encode the data it adds, so the output file has invalid characters (bug #440).
!    
!     my $orig_prog;
      if (lc($encoding) ne 'iso-8859-1') {
        # decode the incoming programme
+       $orig_prog = $prog;
        $prog = XMLTV::Data::Recursive::Encode->decode($encoding, $prog);
      }
***************
*** 364,367 ****
--- 367,373 ----
  	$prog=$nprog;
      }
+     else {
+         $prog = $orig_prog;
+     }
  
      # we only add movie information to programmes


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.