xmltv/lib IMDB.pm,1.57,1.58

Nick Morrott <[email protected]>
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/lib
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv29969/lib

Modified Files:
	IMDB.pm 
Log Message:
Ignore video_game entries when creating tv_imdb index. Updates to perldoc to reflect increased storage requirements for IMDB downloads/index.

Index: IMDB.pm
===================================================================
RCS file: /cvsroot/xmltv/xmltv/lib/IMDB.pm,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** IMDB.pm	22 Jun 2011 18:58:02 -0000	1.57
--- IMDB.pm	6 May 2013 03:09:34 -0000	1.58
***************
*** 640,643 ****
--- 640,644 ----
  		}
  		elsif ( $info->{qualifier} eq "video_game" ) {
+ 		    next;
  		}
  		elsif ( $info->{qualifier} eq "tv_series" ) {
***************
*** 688,691 ****
--- 689,693 ----
  		    }
  		    elsif ( $info->{qualifier} eq "video_game" ) {
+ 			next;
  		    }
  		    elsif ( $info->{qualifier} eq "tv_series" ) {
***************
*** 740,743 ****
--- 742,746 ----
  		    elsif ( $info->{qualifier} eq "video_game" ) {
  			$self->status("ignoring close hit on video-game \"$info->{key}\"");
+ 			next;
  		    }
  		    elsif ( $info->{qualifier} eq "tv_series" ) {
***************
*** 832,835 ****
--- 835,839 ----
  		elsif ( $info->{qualifier} eq "video_game" ) {
  		    #$self->status("ignoring close hit on made-for-video-movie \"$info->{key}\"");
+ 		    next;
  		}
  		elsif ( $info->{qualifier} eq "tv_series" ) {
***************
*** 2604,2608 ****
  		}
  		elsif ( $dbkey=~s/\s+\(VG\)$//o ) {
! 		    $qualifier="video_game";
  		}
  		else {
--- 2608,2614 ----
  		}
  		elsif ( $dbkey=~s/\s+\(VG\)$//o ) {
! 		    #$qualifier="video_game";
! 		    delete($movies{$key});
! 		    next;
  		}
  		else {


------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
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.