xmltv/filter tv_imdb,1.35,1.36

Geoff <[email protected]> Tue, 23 May 2017 12:51:35 +0000
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-serv4778

Modified Files:
	tv_imdb 
Log Message:
Fix bug where write_programme breaks when film not in database

Index: tv_imdb
===================================================================
RCS file: /cvsroot/xmltv/xmltv/filter/tv_imdb,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** tv_imdb	12 Jul 2015 00:46:37 -0000	1.35
--- tv_imdb	23 May 2017 12:51:33 -0000	1.36
***************
*** 398,405 ****
      # 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);
      }
--- 398,404 ----
      # IMDB::augmentProgram does not re-encode the data it adds, so the output file has invalid characters (bug #440).
  
!     my $orig_prog = $prog;
      if (lc($encoding) ne 'iso-8859-1') {
        # decode the incoming programme
        $prog = XMLTV::Data::Recursive::Encode->decode($encoding, $prog);
      }


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot