xmltv/grab/es_laguiatv tv_grab_es_laguiatv, 1.24, 1.25

Geoff <[email protected]>
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/grab/es_laguiatv
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7734

Modified Files:
	tv_grab_es_laguiatv 
Log Message:
fix some 'stop' times (bug 498)

Index: tv_grab_es_laguiatv
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/es_laguiatv/tv_grab_es_laguiatv,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** tv_grab_es_laguiatv	2 Apr 2014 14:27:16 -0000	1.24
--- tv_grab_es_laguiatv	24 Mar 2015 17:56:38 -0000	1.25
***************
*** 655,659 ****
  			my $p_times = $p_div->look_down('_tag' => 'p')->as_text;
  			
! 			my ($h, $i, $h2, $i2) = $p_times =~ /(\d*):(\d*) a (\d*):(\d*)/;
  			
  			my $showtime = $theday->clone->set(hour => $h, minute => $i, second => 0);
--- 655,659 ----
  			my $p_times = $p_div->look_down('_tag' => 'p')->as_text;
  			
! 			my ($h, $i, $h2, $i2) = $p_times =~ /(\d*):(\d*)(?: *a *(\d*):(\d*))?/;
  			
  			my $showtime = $theday->clone->set(hour => $h, minute => $i, second => 0);
***************
*** 861,865 ****
  
              #debug_print("title: $p_title start: $p_stime end: $p_etime cat: $p_category c2: " . $categories{$p_category} . "\n");
!             debug_print("title: $p_title start: $p_stime end: $p_etime");
  			
  			# 2014-04-02 ignore programme where title = *
--- 861,865 ----
  
              #debug_print("title: $p_title start: $p_stime end: $p_etime cat: $p_category c2: " . $categories{$p_category} . "\n");
!             debug_print("title: $p_title start: $p_stime end: ".(defined $p_etime?$p_etime:''));
  			
  			# 2014-04-02 ignore programme where title = *


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.