xmltv/grab/pt_meo tv_grab_pt_meo, 1.10, 1.11 test.conf, 1.1, 1.2

Karl Dietz <[email protected]> Tue, 15 Dec 2015 14:39:04 +0000
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/grab/pt_meo
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv14944/grab/pt_meo

Modified Files:
	tv_grab_pt_meo test.conf 
Log Message:
_pt_meo: rewrite inter+ to inter-plus for the channel id



Index: tv_grab_pt_meo
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/pt_meo/tv_grab_pt_meo,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** tv_grab_pt_meo	15 Dec 2015 13:36:56 -0000	1.10
--- tv_grab_pt_meo	15 Dec 2015 14:39:02 -0000	1.11
***************
*** 349,357 ****
  {
      my( $id ) = @_;
!     $id = lc( $id );
!     $id =~ s|\s+||g;
!     $id =~ s|&||g;
!     $id =~ s|\x{e7}|c|g;
!     $id .= '.tv.sapo.pt';
      return( $id );
  }
--- 349,358 ----
  {
      my( $id ) = @_;
!     $id = lc( $id );      # turn into lowercase
!     $id =~ s|\s+||g;      # remove whitespace
!     $id =~ s|&||g;        # remove ampersand
!     $id =~ s|\x{e7}|c|g;  # turn c-cecille into plain c
!     $id =~ s|\+|-plus|g;  # turn + into -plus
!     $id .= '.tv.sapo.pt'; # append domain part
      return( $id );
  }

Index: test.conf
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/pt_meo/test.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test.conf	25 Sep 2010 06:21:04 -0000	1.1
--- test.conf	15 Dec 2015 14:39:02 -0000	1.2
***************
*** 28,32 ****
  channel!MUTV
  channel!CHELS
! channel!INTER
  channel!DISNY
  channel!PANDA
--- 28,32 ----
  channel!MUTV
  channel!CHELS
! channel=INTER
  channel!DISNY
  channel!PANDA
***************
*** 131,135 ****
  channel!Q
  channel!RTP1HD
! channel!INTER+
  channel!KSIC
  channel!SPIHD
--- 131,135 ----
  channel!Q
  channel!RTP1HD
! channel=INTER+
  channel!KSIC
  channel!SPIHD


------------------------------------------------------------------------------