xmltv/lib Augment.pm,1.11,1.12

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

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

* 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.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Augment.pm	12 Jul 2016 01:28:23 -0000	1.11
--- Augment.pm	12 Jul 2016 01:28:35 -0000	1.12
***************
*** 1649,1653 ****
  #
  # Some programme titles contain both the title and episode data,
! # separated by a colon ($title:$episode) or a hyphen ($title - $episode).
  # Here we reassign the episode to the $episode element, leaving only the
  # programme's title in the $title element
--- 1649,1655 ----
  #
  # Some programme titles contain both the title and episode data,
! # separated by a colon ($title:$episode), semicolon ($title; $episode)
! # or a hyphen ($title - $episode).
! #
  # Here we reassign the episode to the $episode element, leaving only the
  # programme's title in the $title element
***************
*** 1668,1672 ****
  	if (!defined $self->{'rules'}->{$ruletype}) { return 0; }
  
!     if ( defined $prog->{'_title'} && $prog->{'_title'} =~ m/:|-/ ) {
  
          my $idx = lc(substr $prog->{'_title'}, 0, 2);
--- 1670,1674 ----
  	if (!defined $self->{'rules'}->{$ruletype}) { return 0; }
  
!     if ( defined $prog->{'_title'} && $prog->{'_title'} =~ m/[:;-]/ ) {
  
          my $idx = lc(substr $prog->{'_title'}, 0, 2);


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