|
MythTV
0.26-pre
|
Public Member Functions | |
| def | __init__ |
| def | setTreeViewIcon |
| Start - Utility functions. | |
| def | getMashupsConfig |
| def | getUserPreferences |
| def | searchForVideos |
| End of Utility functions. | |
| def | displayTreeView |
Public Attributes | |
| config | |
| common | |
| log_name | |
| logger | |
| error_messages | |
| channel | |
| channel_icon | |
| tree_dir_icon | |
| mashups_config | |
| userPrefs | |
Main interface to any Mashup This is done to support a common naming framework for all python Netvision plugins no matter their site target. Supports MNV Mashup Search and Treeview methods The apikey is a not required for Mashups
Definition at line 90 of file mashups_api.py.
| def nv_python_libs.mashups.mashups_api.Videos.__init__ | ( | self, | |
| apikey, | |||
mythtv = True, |
|||
interactive = False, |
|||
select_first = False, |
|||
debug = False, |
|||
custom_ui = None, |
|||
language = None, |
|||
search_all_languages = False |
|||
| ) |
apikey (str/unicode):
Specify the target site API key. Applications need their own key in some cases
mythtv (True/False):
When True, the returned meta data is being returned has the key and values massaged to match MythTV
When False, the returned meta data is being returned matches what target site returned
interactive (True/False): (This option is not supported by all target site apis)
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): (This option is not supported currently implemented in any grabbers)
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 (xx_ui.BaseUI subclass): (This option is not supported currently implemented in any grabbers)
A callable subclass of interactive class (overrides interactive option)
language (2 character language abbreviation): (This option is not supported by all target site apis)
The language of the returned data. Is also the language search
uses. Default is "en" (English). For full list, run..
search_all_languages (True/False): (This option is not supported by all target site apis)
By default, a Netvision grabber 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 98 of file mashups_api.py.
| def nv_python_libs.mashups.mashups_api.Videos.setTreeViewIcon | ( | self, | |
dir_icon = None |
|||
| ) |
Start - Utility functions.
Check if there is a specific generic tree view icon. If not default to the channel icon. return self.tree_dir_icon
Definition at line 184 of file mashups_api.py.
Referenced by nv_python_libs.mashups.mashups_api.Videos.displayTreeView(), nv_python_libs.vimeo.vimeo_api.Videos.getTreeVideos(), nv_python_libs.mtv.mtv_api.Videos.getVideos(), nv_python_libs.youtube.youtube_api.Videos.getVideos(), nv_python_libs.vimeo.vimeo_api.Videos.getVideos(), nv_python_libs.mtv.mtv_api.Videos.getVideosForURL(), nv_python_libs.youtube.youtube_api.Videos.getVideosForURL(), and nv_python_libs.mashups.mashups_api.Videos.searchForVideos().
Read the MNV Mashups grabber "mashups_config.xml" configuration file return nothing
Definition at line 204 of file mashups_api.py.
Read the mashups_config.xml and user preference xxxxxMashup.xml file. If the xxxxxMashup.xml file does not exist then copy the default. return nothing
Definition at line 224 of file mashups_api.py.
Referenced by nv_python_libs.mashups.mashups_api.Videos.displayTreeView(), nv_python_libs.rev3.rev3_api.Videos.displayTreeView(), nv_python_libs.mashups.mashups_api.Videos.searchForVideos(), and nv_python_libs.tedtalks.tedtalks_api.Videos.searchForVideos().
| def nv_python_libs.mashups.mashups_api.Videos.searchForVideos | ( | self, | |
| title, | |||
| pagenumber | |||
| ) |
End of Utility functions.
Common name for a video search. Used to interface with MythTV plugin NetVision Display the results and exit
Definition at line 307 of file mashups_api.py.
Gather the Mashups Internet sources then get the videos meta data in each of them Display the results and exit
Definition at line 442 of file mashups_api.py.
Definition at line 129 of file mashups_api.py.
Referenced by nv_python_libs.mtv.mtv_api.Videos::_initLogger(), nv_python_libs.youtube.youtube_api.Videos::_initLogger(), nv_python_libs.vimeo.vimeo_api.Videos::_initLogger(), nv_python_libs.mashups.mashups_api.Videos::displayTreeView(), nv_python_libs.rev3.rev3_api.Videos::displayTreeView(), giantbomb.giantbomb_api.gamedbQueries::gameData(), giantbomb.giantbomb_api.gamedbQueries::gameSearch(), nv_python_libs.mnvsearch.mnvsearch_api.Videos::getTreeviewData(), nv_python_libs.rev3.rev3_api.Videos::getVideoID(), nv_python_libs.mtv.mtv_api.Videos::getVideos(), nv_python_libs.youtube.youtube_api.Videos::getVideos(), nv_python_libs.vimeo.vimeo_api.Videos::getVideos(), nv_python_libs.mtv.mtv_api.Videos::getVideosForURL(), nv_python_libs.youtube.youtube_api.Videos::getVideosForURL(), tmdb.moviedbQueries::hashData(), tmdb.moviedbQueries::movieData(), tmdb.moviedbQueries::movieSearch(), tmdb.moviedbQueries::peopleData(), tmdb.moviedbQueries::peopleSearch(), nv_python_libs.mnvsearch.mnvsearch_api.Videos::searchForVideos(), nv_python_libs.mashups.mashups_api.Videos::searchForVideos(), nv_python_libs.tedtalks.tedtalks_api.Videos::searchForVideos(), nv_python_libs.thewb.thewb_api.Videos::searchForVideos(), nv_python_libs.rev3.rev3_api.Videos::searchForVideos(), nv_python_libs.mnvsearch.mnvsearch_api.Videos::searchTitle(), nv_python_libs.tedtalks.tedtalks_api.Videos::searchTitle(), nv_python_libs.mtv.mtv_api.Videos::searchTitle(), nv_python_libs.thewb.thewb_api.Videos::searchTitle(), nv_python_libs.youtube.youtube_api.Videos::searchTitle(), nv_python_libs.rev3.rev3_api.Videos::searchTitle(), nv_python_libs.pbs.pbs_api.Videos::updatePBS(), nv_python_libs.rev3.rev3_api.Videos::updateRev3(), nv_python_libs.tedtalks.tedtalks_api.Videos::updateTedTalks(), nv_python_libs.thewb.thewb_api.Videos::updateTheWB(), and nv_python_libs.mtv.mtv_api.Videos::videoDetails().
Definition at line 129 of file mashups_api.py.
Referenced by nv_python_libs.thewb.thewb_api.Videos.createItems(), nv_python_libs.mashups.mashups_api.Videos.displayTreeView(), nv_python_libs.rev3.rev3_api.Videos.displayTreeView(), nv_python_libs.mnvsearch.mnvsearch_api.Videos.searchForVideos(), nv_python_libs.mashups.mashups_api.Videos.searchForVideos(), nv_python_libs.tedtalks.tedtalks_api.Videos.searchForVideos(), nv_python_libs.thewb.thewb_api.Videos.searchForVideos(), nv_python_libs.rev3.rev3_api.Videos.searchForVideos(), nv_python_libs.mnvsearch.mnvsearch_api.Videos.searchTitle(), nv_python_libs.thewb.thewb_api.Videos.searchTitle(), and nv_python_libs.rev3.rev3_api.Videos.searchTitle().
Definition at line 129 of file mashups_api.py.
Referenced by nv_python_libs.mtv.mtv_api.Videos._initLogger(), nv_python_libs.youtube.youtube_api.Videos._initLogger(), and nv_python_libs.vimeo.vimeo_api.Videos._initLogger().
Definition at line 129 of file mashups_api.py.
Definition at line 129 of file mashups_api.py.
Referenced by nv_python_libs.mashups.mashups_api.Videos.displayTreeView(), nv_python_libs.rev3.rev3_api.Videos.displayTreeView(), nv_python_libs.vimeo.vimeo_api.Videos.getTreeVideos(), nv_python_libs.mtv.mtv_api.Videos.getVideosForURL(), nv_python_libs.youtube.youtube_api.Videos.getVideosForURL(), tmdb.moviedbQueries.hashData(), tmdb.moviedbQueries.movieData(), tmdb.moviedbQueries.movieSearch(), tmdb.moviedbQueries.peopleData(), tmdb.moviedbQueries.peopleSearch(), nv_python_libs.mashups.mashups_api.Videos.searchForVideos(), nv_python_libs.tedtalks.tedtalks_api.Videos.searchForVideos(), nv_python_libs.thewb.thewb_api.Videos.searchForVideos(), nv_python_libs.rev3.rev3_api.Videos.searchForVideos(), nv_python_libs.mnvsearch.mnvsearch_api.Videos.searchTitle(), nv_python_libs.tedtalks.tedtalks_api.Videos.searchTitle(), nv_python_libs.mtv.mtv_api.Videos.searchTitle(), nv_python_libs.thewb.thewb_api.Videos.searchTitle(), nv_python_libs.youtube.youtube_api.Videos.searchTitle(), nv_python_libs.rev3.rev3_api.Videos.searchTitle(), nv_python_libs.vimeo.vimeo_api.Videos.searchTitle(), nv_python_libs.pbs.pbs_api.Videos.updatePBS(), nv_python_libs.rev3.rev3_api.Videos.updateRev3(), nv_python_libs.tedtalks.tedtalks_api.Videos.updateTedTalks(), nv_python_libs.thewb.thewb_api.Videos.updateTheWB(), and nv_python_libs.mtv.mtv_api.Videos.videoDetails().
Definition at line 129 of file mashups_api.py.
Referenced by nv_python_libs.mashups.mashups_api.Videos.displayTreeView(), nv_python_libs.rev3.rev3_api.Videos.displayTreeView(), nv_python_libs.vimeo.vimeo_api.Videos.getTreeVideos(), nv_python_libs.mtv.mtv_api.Videos.getVideosForURL(), nv_python_libs.youtube.youtube_api.Videos.getVideosForURL(), nv_python_libs.mnvsearch.mnvsearch_api.Videos.searchForVideos(), nv_python_libs.mashups.mashups_api.Videos.searchForVideos(), nv_python_libs.tedtalks.tedtalks_api.Videos.searchForVideos(), nv_python_libs.thewb.thewb_api.Videos.searchForVideos(), nv_python_libs.rev3.rev3_api.Videos.searchForVideos(), nv_python_libs.mnvsearch.mnvsearch_api.Videos.searchTitle(), nv_python_libs.thewb.thewb_api.Videos.searchTitle(), nv_python_libs.youtube.youtube_api.Videos.searchTitle(), nv_python_libs.rev3.rev3_api.Videos.searchTitle(), and nv_python_libs.vimeo.vimeo_api.Videos.searchTitle().
Definition at line 129 of file mashups_api.py.
Referenced by nv_python_libs.pbs.pbs_api.Videos.displayTreeView(), nv_python_libs.tedtalks.tedtalks_api.Videos.displayTreeView(), nv_python_libs.mashups.mashups_api.Videos.displayTreeView(), nv_python_libs.rev3.rev3_api.Videos.displayTreeView(), nv_python_libs.mtv.mtv_api.Videos.getVideos(), nv_python_libs.youtube.youtube_api.Videos.getVideos(), nv_python_libs.dailymotion.dailymotion_api.Videos.getVideos(), nv_python_libs.vimeo.vimeo_api.Videos.getVideos(), and nv_python_libs.mashups.mashups_api.Videos.searchForVideos().
Definition at line 186 of file mashups_api.py.
Definition at line 206 of file mashups_api.py.
Definition at line 227 of file mashups_api.py.
Referenced by nv_python_libs.mashups.mashups_api.Videos::displayTreeView(), nv_python_libs.rev3.rev3_api.Videos::displayTreeView(), nv_python_libs.mashups.mashups_api.Videos::searchForVideos(), nv_python_libs.pbs.pbs_api.Videos::updatePBS(), nv_python_libs.rev3.rev3_api.Videos::updateRev3(), nv_python_libs.tedtalks.tedtalks_api.Videos::updateTedTalks(), and nv_python_libs.thewb.thewb_api.Videos::updateTheWB().
1.7.6.1