xmltv/lib Augment.pm,1.12,1.13

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

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

* update title filter regex to match documented separators
* update documentation


Index: Augment.pm
===================================================================
RCS file: /cvsroot/xmltv/xmltv/lib/Augment.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Augment.pm	12 Jul 2016 01:28:35 -0000	1.12
--- Augment.pm	12 Jul 2016 01:28:46 -0000	1.13
***************
*** 1745,1749 ****
  #
  # Some programme titles contain both the episode and title data,
! # separated by a colon ($episode:$title) or a hyphen ($episode - $title).
  # Here we reassign the episode to the $episode element, leaving only the
  # programme's title in the $title element
--- 1745,1751 ----
  #
  # Some programme titles contain both the episode and title data,
! # separated by a colon ($episode:$title), semicolon ($episode; $title) or a
! # hyphen ($episode - $title).
! #
  # Here we reassign the episode to the $episode element, leaving only the
  # programme's title in the $title element
***************
*** 1764,1768 ****
  	if (!defined $self->{'rules'}->{$ruletype}) { return 0; }
  
!     if ( defined $prog->{'_title'} && $prog->{'_title'} =~ m/:|-/ ) {
  
  		# can't use the index for this one since we don't know what the incoming title begins with
--- 1766,1770 ----
  	if (!defined $self->{'rules'}->{$ruletype}) { return 0; }
  
!     if ( defined $prog->{'_title'} && $prog->{'_title'} =~ m/[:;-]/ ) {
  
  		# can't use the index for this one since we don't know what the incoming title begins with


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