tmdb::moviedbQueries Class Reference
List of all members.
Detailed Description
Methods that query themoviedb.org for metadata and outputs the results to stdout any errors are output
to stderr.
Definition at line 262 of file tmdb.py.
Member Function Documentation
| def tmdb::moviedbQueries::__init__ |
( |
|
self, |
|
|
|
apikey, |
|
|
|
mythtv = False, |
|
|
|
interactive = False, |
|
|
|
select_first = False, |
|
|
|
debug = False, |
|
|
|
custom_ui = None, |
|
|
|
language = None, |
|
|
|
search_all_languages = False | |
|
) |
| | |
apikey (str/unicode):
Specify the themoviedb.org API key. Applications need their own key.
See http://api.themoviedb.org/2.1/ to get your own API key
mythtv (True/False):
When True, the movie metadata is being returned has the key and values massaged to match MythTV
When False, the movie metadata is being returned matches what TMDB returned
interactive (True/False):
When True, uses built-in console UI is used to select the correct show.
When False, the first search result is used.
select_first (True/False):
Automatically selects the first series search result (rather
than showing the user a list of more than one series).
Is overridden by interactive = False, or specifying a custom_ui
debug (True/False):
shows verbose debugging information
custom_ui (tvdb_ui.BaseUI subclass):
A callable subclass of tvdb_ui.BaseUI (overrides interactive option)
language (2 character language abbreviation):
The language of the returned data. Is also the language search
uses. Default is "en" (English). For full list, run..
>>> MovieDb().config['valid_languages'] #doctest: +ELLIPSIS
['da', 'fi', 'nl', ...]
search_all_languages (True/False):
By default, TMDB will only search in the language specified using
the language option. When this is True, it will search for the
show in any language
Definition at line 266 of file tmdb.py.
| def tmdb::moviedbQueries::movieSearch |
( |
|
self, |
|
|
|
title | |
|
) |
| | |
Search for movies that match the title and output their "tmdb#:Title" to stdout
Definition at line 326 of file tmdb.py.
| def tmdb::moviedbQueries::peopleSearch |
( |
|
self, |
|
|
|
persons_name | |
|
) |
| | |
Search for People that match the name and output their "tmdb#:Name" to stdout
Definition at line 361 of file tmdb.py.
| def tmdb::moviedbQueries::camelcase |
( |
|
self, |
|
|
|
value | |
|
) |
| | |
| def tmdb::moviedbQueries::displayMovieData |
( |
|
self, |
|
|
|
data | |
|
) |
| | |
Display movie data to stdout
Definition at line 397 of file tmdb.py.
| def tmdb::moviedbQueries::movieData |
( |
|
self, |
|
|
|
tmdb_id | |
|
) |
| | |
Get Movie data by IMDB or TMDB number and display "key:value" pairs to stdout
Definition at line 420 of file tmdb.py.
| def tmdb::moviedbQueries::peopleData |
( |
|
self, |
|
|
|
person_id | |
|
) |
| | |
Get People data by TMDB people id number and display "key:value" pairs to stdout
Definition at line 448 of file tmdb.py.
| def tmdb::moviedbQueries::hashData |
( |
|
self, |
|
|
|
hash_value | |
|
) |
| | |
Get Movie data by Hash value and display "key:value" pairs to stdout
Definition at line 508 of file tmdb.py.
Member Data Documentation
The documentation for this class was generated from the following file: