xmltv/filter tv_augment,1.1,1.2

Nick Morrott <[email protected]> Tue, 28 Jun 2016 00:00:20 +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-serv1503/filter

Modified Files:
	tv_augment 
Log Message:
Remove trailing whitespace

Index: tv_augment
===================================================================
RCS file: /cvsroot/xmltv/xmltv/filter/tv_augment,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tv_augment	12 Jul 2015 16:46:09 -0000	1.1
--- tv_augment	28 Jun 2016 00:00:18 -0000	1.2
***************
*** 16,20 ****
             [--log <file>] [--nostats]
             [--debug <level>]
! 		  
  tv_augment [-r <file>] [-c <file>]
             [-i <file>] [-o <file>]
--- 16,20 ----
             [--log <file>] [--nostats]
             [--debug <level>]
! 
  tv_augment [-r <file>] [-c <file>]
             [-i <file>] [-o <file>]
***************
*** 48,52 ****
  
  B<--config FILE> configuration file containing a list of which rules
! you want to run. 
  
  B<--nostats> do not print the summary log of actions performed, or list of
--- 48,52 ----
  
  B<--config FILE> configuration file containing a list of which rules
! you want to run.
  
  B<--nostats> do not print the summary log of actions performed, or list of
***************
*** 89,93 ****
  ;
  
! 		 
  my (
  	$opt_help,
--- 89,93 ----
  ;
  
! 
  my (
  	$opt_help,
***************
*** 122,126 ****
  $opt_debug     = 0    if ( !defined($opt_debug) );
  my $opt_stats  = ( !defined($opt_nostats) ? 1 : !$opt_nostats );
! 	
  
  # object construction & open log file
--- 122,126 ----
  $opt_debug     = 0    if ( !defined($opt_debug) );
  my $opt_stats  = ( !defined($opt_nostats) ? 1 : !$opt_nostats );
! 
  
  # object construction & open log file
***************
*** 185,192 ****
  sub channel_cb( $ ) {
      my $ch = shift;
! 	
  	# store the channel details
      $augment->inputChannel( $ch );
! 	
  	# write the channel element to the output xml
  	$w->write_channel($ch);
--- 185,192 ----
  sub channel_cb( $ ) {
      my $ch = shift;
! 
  	# store the channel details
      $augment->inputChannel( $ch );
! 
  	# write the channel element to the output xml
  	$w->write_channel($ch);
***************
*** 196,206 ****
      my $prog = shift;
      $in_count++;
! 	
  	# developer's option to only process a few records in input file and then stop
  	if ( defined($opt_do) && $in_count > $opt_do ) { return; }
! 	
  	# decode the incoming programme
  	$prog = XMLTV::Data::Recursive::Encode->decode($encoding, $prog);
! 	  
      # augmentProgramme will now do any requested processing of the input xml
      $prog = $augment->augmentProgramme( $prog );
--- 196,206 ----
      my $prog = shift;
      $in_count++;
! 
  	# developer's option to only process a few records in input file and then stop
  	if ( defined($opt_do) && $in_count > $opt_do ) { return; }
! 
  	# decode the incoming programme
  	$prog = XMLTV::Data::Recursive::Encode->decode($encoding, $prog);
! 
      # augmentProgramme will now do any requested processing of the input xml
      $prog = $augment->augmentProgramme( $prog );
***************
*** 208,215 ****
  	# re-code the modified programme back to original encoding
      $prog = XMLTV::Data::Recursive::Encode->encode($encoding, $prog);
! 		
      # output the augmented programme
      $w->write_programme($prog);
! 	
  }
  #
--- 208,215 ----
  	# re-code the modified programme back to original encoding
      $prog = XMLTV::Data::Recursive::Encode->encode($encoding, $prog);
! 
      # output the augmented programme
      $w->write_programme($prog);
! 
  }
  #


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape