xmltv/grab/uk_atlas tv_grab_uk_atlas,1.14,1.15
Geoff <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab/uk_atlas
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv21995
Modified Files:
tv_grab_uk_atlas
Log Message:
Add xmltv version test
Index: tv_grab_uk_atlas
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/uk_atlas/tv_grab_uk_atlas,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** tv_grab_uk_atlas 20 Dec 2013 14:57:41 -0000 1.14
--- tv_grab_uk_atlas 9 Jan 2014 12:10:18 -0000 1.15
***************
*** 18,21 ****
--- 18,30 ----
use Data::Dumper;
+ use XMLTV;
+ # perl-version safe $VERSION check
+ my ($v1,$v2,$v3) = XMLTV->VERSION =~ /^(.*?)\.(.*?)\.(.*?)$/;
+ if ( ($v1)+($v2/1000)+($v3/1000000) < 0.005064 ) {
+ print STDERR 'XMLTV version 0.5.64 required -- this is only version '.XMLTV->VERSION."\n";
+ exit(1);
+ # 0.5.64 is required for fix to 'role' attribute in credits
+ }
+
use XMLTV::ProgressBar;
use XMLTV::Options qw/ParseOptions/;
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk