xmltv/lib Augment.pm,1.8,1.9

Nick Morrott <[email protected]> Tue, 12 Jul 2016 01:28:01 +0000
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/lib
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25750/lib

Modified Files:
	Augment.pm 
Log Message:
Update remove_duplicated_title_in_ep()

* look for undefined regex capture before setting <sub-title>


Index: Augment.pm
===================================================================
RCS file: /cvsroot/xmltv/xmltv/lib/Augment.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Augment.pm	12 Jul 2016 01:20:09 -0000	1.8
--- Augment.pm	12 Jul 2016 01:27:59 -0000	1.9
***************
*** 522,526 ****
  			|| $tmp_episode =~ m/^\Q$tmp_title\E\s+\((.+)\)$/i
  			|| $tmp_episode =~ m/^\Q$tmp_title\E\s*$/i ) {
!             $prog->{'sub-title'}[0][0] = $1;
              l(sprintf("\t Removing title text from beginning of episode field (#%s)", $ruletype));
  			$self->add_to_audit ($me, $key, { '_title'=>$tmp_title, '_episode'=>$tmp_episode })
--- 522,526 ----
  			|| $tmp_episode =~ m/^\Q$tmp_title\E\s+\((.+)\)$/i
  			|| $tmp_episode =~ m/^\Q$tmp_title\E\s*$/i ) {
!             $prog->{'sub-title'}[0][0] = defined $1 ? $1 : '';
              l(sprintf("\t Removing title text from beginning of episode field (#%s)", $ruletype));
  			$self->add_to_audit ($me, $key, { '_title'=>$tmp_title, '_episode'=>$tmp_episode })


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev