imdb.pl File Reference

Go to the source code of this file.

Functions

use vars qw ($opt_h $opt_r $opt_d $opt_i $opt_v $opt_D $opt_M $opt_P)
 binmode (STDOUT,":utf8")
 if (rindex($query, '.')!=-1)
 if (rindex($query, '(')!=-1)
 if (rindex($query, '[')!=-1)
 if ($1)
 if (!$options)
 if (defined $opt_d)
 if ($data eq"")
 while ($start!=-1 &&$start< length($data))

Variables

my $has_date_format = $@ ? 0 : 1
 $title = "IMDB Query"
 $version = "v1.3.5"
 $author = "Tim Harvey, Andrei Rjeousski"
my countries = qw(USA UK Canada Japan)
each line as movieid
each line as $options = @_
my $query = $filename
The i
my $request = "http://www.imdb.com/find?q=$query;$options"
my $response = get $request
my $movienum = parseBetween($response, "add=", "\"")
my $popular_results
my $exact_matches
my $partial_matches
my $beg = "<tr>"
my $end = "</tr>"
my $count = 0
my movies
my $data = $popular_results.$exact_matches
my $start = index($data, $beg)
my $finish = index($data, $end, $start)
my $year
my $type


Function Documentation

use vars qw ( $opt_h $opt_r $opt_d $opt_i $opt_v $opt_D $opt_M $  opt_P  ) 

binmode ( STDOUT  ,
":utf8"   
)

if ( rindex($query, '.')!  = -1  ) 

Definition at line 416 of file imdb.pl.

if (  ) 

Definition at line 420 of file imdb.pl.

if ( rindex($query, '[')!  = -1  ) 

Definition at line 424 of file imdb.pl.

if ( 1  ) 

Definition at line 430 of file imdb.pl.

if ( !$  options  ) 

Definition at line 434 of file imdb.pl.

if ( defined $  opt_d  ) 

Definition at line 435 of file imdb.pl.

if ( $data eq""   ) 

Definition at line 498 of file imdb.pl.

while (  ) 

Definition at line 510 of file imdb.pl.


Variable Documentation

my $has_date_format = $@ ? 0 : 1

Definition at line 36 of file imdb.pl.

my $title = "IMDB Query"

Definition at line 41 of file imdb.pl.

$version = "v1.3.5"

Definition at line 42 of file imdb.pl.

$author = "Tim Harvey, Andrei Rjeousski"

Definition at line 43 of file imdb.pl.

my countries = qw(USA UK Canada Japan)

Definition at line 45 of file imdb.pl.

each line as movieid

Definition at line 404 of file imdb.pl.

each line as $options = @_

Definition at line 406 of file imdb.pl.

$query = $filename

Definition at line 413 of file imdb.pl.

The i

Definition at line 429 of file imdb.pl.

my $request = "http://www.imdb.com/find?q=$query;$options"

Definition at line 447 of file imdb.pl.

my $response = get $request

Definition at line 449 of file imdb.pl.

Referenced by if().

my $movienum = parseBetween($response, "add=", "\"")

Definition at line 458 of file imdb.pl.

Referenced by while().

my $popular_results

Initial value:

 parseBetween($response, "<b>Popular Titles</b>",
                                              "</table>")

Definition at line 481 of file imdb.pl.

my $exact_matches

Initial value:

 parseBetween($response, "<b>Titles (Exact Matches)</b>",
                                              "</table>")

Definition at line 483 of file imdb.pl.

Referenced by while().

my $partial_matches

Initial value:

 parseBetween($response, "<b>Titles (Partial Matches)</b>",
                                              "</table>")

Definition at line 485 of file imdb.pl.

my $beg = "<tr>"

Definition at line 490 of file imdb.pl.

Referenced by while().

my $end = "</tr>"

Definition at line 491 of file imdb.pl.

Referenced by while().

my $count = 0

Definition at line 492 of file imdb.pl.

my movies

Definition at line 493 of file imdb.pl.

Referenced by MoviesUI::getDisplayTreeByMovie(), and while().

my $data = $popular_results.$exact_matches

Definition at line 496 of file imdb.pl.

my $start = index($data, $beg)

Definition at line 505 of file imdb.pl.

my $finish = index($data, $end, $start)

Definition at line 506 of file imdb.pl.

my $year

Definition at line 507 of file imdb.pl.

my $type

Definition at line 508 of file imdb.pl.

Referenced by $line(), getRandItems(), play(), randAdd(), and sajax_get_js_repr().


Generated on Sat Dec 18 05:15:53 2010 for MythTV by  doxygen 1.5.5