xmltv/grab/ar tv_grab_ar,1.17,1.18
Geoff <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab/ar
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8625
Modified Files:
tv_grab_ar
Log Message:
(minor) fix non-numeric series 'numbers'
Index: tv_grab_ar
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/ar/tv_grab_ar,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** tv_grab_ar 28 Aug 2014 12:34:07 -0000 1.17
--- tv_grab_ar 9 Oct 2014 15:39:12 -0000 1.18
***************
*** 654,659 ****
if (defined $temp{'series'}) {
! $cur->{'series'} = $temp{'series'}->as_text;
! $cur->{'series'} =~ s/Temporada:\s//;
$temp{'series'}->detach();
}
--- 654,664 ----
if (defined $temp{'series'}) {
! my $seriestext = $temp{'series'}->as_text;
! $seriestext =~ s/Temporada:\s//;
! if ($seriestext =~ /^(\d+)$/ ) {
! $cur->{'series'} = $1 if $1 ne '';
! } elsif ($seriestext ne '') {
! $cur->{'sub-title'} = $seriestext;
! }
$temp{'series'}->detach();
}
***************
*** 665,672 ****
$cur->{'episode'} = $1 if $1 ne '';
if ( $episodetext =~ /^(\d+) - (.*)$/ ) {
! $cur->{'sub-title'} = $2;
}
} elsif ($episodetext ne '') {
! $cur->{'sub-title'} = $episodetext;
}
$temp{'episode'}->detach();
--- 670,677 ----
$cur->{'episode'} = $1 if $1 ne '';
if ( $episodetext =~ /^(\d+) - (.*)$/ ) {
! $cur->{'sub-title'} = (defined $cur->{'sub-title'} ? $cur->{'sub-title'}.' : ' : '') . $2;
}
} elsif ($episodetext ne '') {
! $cur->{'sub-title'} = (defined $cur->{'sub-title'} ? $cur->{'sub-title'}.' : ' : '') . $episodetext;
}
$temp{'episode'}->detach();
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk