|
MythTV
0.26-pre
|
Public Member Functions | |
| def | __init__ |
| def | movieSearch |
| def | peopleSearch |
| def | camelcase |
| def | displayMovieData |
| def | movieData |
| def | peopleData |
| def | hashData |
Public Attributes | |
| config | |
| mythtvgrabber | |
| error_messages | |
Methods that query themoviedb.org for metadata and outputs the results to stdout any errors are output to stderr.
| 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
| def tmdb.moviedbQueries.movieSearch | ( | self, | |
| title | |||
| ) |
| def tmdb.moviedbQueries.peopleSearch | ( | self, | |
| persons_name | |||
| ) |
| def tmdb.moviedbQueries.camelcase | ( | self, | |
| value | |||
| ) |
Make a string CamelCase
Definition at line 387 of file tmdb.py.
Referenced by tmdb.moviedbQueries.displayMovieData(), and tmdb.moviedbQueries.peopleData().
| def tmdb.moviedbQueries.displayMovieData | ( | self, | |
| data | |||
| ) |
Display movie data to stdout
Definition at line 397 of file tmdb.py.
Referenced by tmdb.moviedbQueries.hashData(), and tmdb.moviedbQueries.movieData().
| def tmdb.moviedbQueries.movieData | ( | self, | |
| tmdb_id | |||
| ) |
| def tmdb.moviedbQueries.peopleData | ( | self, | |
| person_id | |||
| ) |
| def tmdb.moviedbQueries.hashData | ( | self, | |
| hash_value | |||
| ) |
Definition at line 301 of file tmdb.py.
Referenced by giantbomb.giantbomb_api.gamedbQueries::gameData(), giantbomb.giantbomb_api.gamedbQueries::gameSearch(), tmdb.moviedbQueries::hashData(), tmdb.moviedbQueries::movieData(), tmdb.moviedbQueries::movieSearch(), tmdb.moviedbQueries::peopleData(), and tmdb.moviedbQueries::peopleSearch().
Definition at line 301 of file tmdb.py.
Referenced by tmdb.moviedbQueries.displayMovieData().
Definition at line 301 of file tmdb.py.
Referenced by tmdb.moviedbQueries.hashData(), tmdb.moviedbQueries.movieData(), tmdb.moviedbQueries.movieSearch(), tmdb.moviedbQueries.peopleData(), and tmdb.moviedbQueries.peopleSearch().
1.7.6.1