xmltv/lib Augment.pm,1.14,1.15

Nick Morrott <[email protected]> Tue, 12 Jul 2016 01:29:12 +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-serv25959/lib

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

* make separator and surrounding whitespace optional

Prior to this change, if a programme's sub-title element did not contain
optional whitespace and a separator character after the title text to be
promoted, the rule would not apply.


Index: Augment.pm
===================================================================
RCS file: /cvsroot/xmltv/xmltv/lib/Augment.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** Augment.pm	12 Jul 2016 01:28:58 -0000	1.14
--- Augment.pm	12 Jul 2016 01:29:10 -0000	1.15
***************
*** 1426,1430 ****
              if ($prog->{'_title'} eq $key) {
  
! 				if ( $prog->{'_episode'} =~ s/^\Q$value\E\s*[\.,:;-]\s*//i ) {
  
  					$prog->{'_title'} = $value;
--- 1426,1430 ----
              if ($prog->{'_title'} eq $key) {
  
! 				if ( $prog->{'_episode'} =~ s/^\Q$value\E(?:\s*[.,:;-]\s*)?//i ) {
  
  					$prog->{'_title'} = $value;


------------------------------------------------------------------------------
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