nv_python_libs::mashups::mashups_api Namespace Reference

Classes

class  OutStreamEncoder
class  Videos

Functions

def setTreeViewIcon
def getMashupsConfig
def getUserPreferences
def searchForVideos
def displayTreeView

Variables

string __title__ = "mashups_api - Simple-to-use Python interface to Mashups of RSS feeds and HTML video data"
string __author__ = "R.D. Vaughan"
string __purpose__
string __version__ = "v0.1.6"
string version = ''
 tree_dir_icon
 mashups_config
 userPrefs
 channel_icon

Function Documentation

def nv_python_libs::mashups::mashups_api::setTreeViewIcon (   self,
  dir_icon = None 
)
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.

def nv_python_libs::mashups::mashups_api::getMashupsConfig (   self  ) 
Read the MNV Mashups grabber "mashups_config.xml" configuration file
return nothing

Definition at line 204 of file mashups_api.py.

def nv_python_libs::mashups::mashups_api::getUserPreferences (   self  ) 
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.

def nv_python_libs::mashups::mashups_api::searchForVideos (   self,
  title,
  pagenumber 
)
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.

def nv_python_libs::mashups::mashups_api::displayTreeView (   self  ) 
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.


Variable Documentation

string nv_python_libs::mashups::mashups_api::__title__ = "mashups_api - Simple-to-use Python interface to Mashups of RSS feeds and HTML video data"

Definition at line 14 of file mashups_api.py.

Definition at line 15 of file mashups_api.py.

Initial value:
'''
This python script is intended to perform a variety of utility functions to search and access text
meta data, video and image URLs from various Internet sources. These routines process the RSS feeds and information into MNV standard channel, directory and item RSS XML files. The specific Mashups are specified through a user XML preference file usually found at
"~/.mythtv/MythNetvision/userGrabberPrefs/xxxxMashup.xml" where "xxxx" is the specific mashup name matching the associated grabber name that calls these functions.
'''

Definition at line 16 of file mashups_api.py.

Definition at line 22 of file mashups_api.py.

Definition at line 78 of file mashups_api.py.

Definition at line 188 of file mashups_api.py.

Definition at line 217 of file mashups_api.py.

Definition at line 254 of file mashups_api.py.

Definition at line 339 of file mashups_api.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sun Feb 12 06:42:32 2012 for MythTV by  doxygen 1.6.3