nv_python_libs::tedtalks::tedtalks_api Namespace Reference

Classes

class  OutStreamEncoder
class  Videos

Functions

def getTedTalksConfig
def getUserPreferences
def updateTedTalks
def searchTitle
def searchForVideos
def displayTreeView

Variables

string __title__ = "tedtalks_api - Simple-to-use Python interface to the TedTalks videos (http://www.ted.com)"
string __author__ = "R.D. Vaughan"
string __purpose__
string __version__ = "v0.1.0"
string version = ''
 tedtalks_config
 userPrefs

Function Documentation

def nv_python_libs::tedtalks::tedtalks_api::getTedTalksConfig (   self  ) 
Read the MNV TedTalks grabber "tedtalks_config.xml" configuration file
return nothing

Definition at line 203 of file tedtalks_api.py.

def nv_python_libs::tedtalks::tedtalks_api::getUserPreferences (   self  ) 
Read the tedtalks_config.xml and user preference tedtalks.xml file.
If the tedtalks.xml file does not exist then create it.
If the tedtalks.xml file is too old then update it.
return nothing

Definition at line 223 of file tedtalks_api.py.

def nv_python_libs::tedtalks::tedtalks_api::updateTedTalks (   self,
  create = False 
)
Create or update the tedtalks.xml user preferences file
return nothing

Definition at line 255 of file tedtalks_api.py.

def nv_python_libs::tedtalks::tedtalks_api::searchTitle (   self,
  title,
  pagenumber,
  pagelen 
)
Key word video search of the TedTalks web site
return an array of matching item elements
return

Definition at line 312 of file tedtalks_api.py.

def nv_python_libs::tedtalks::tedtalks_api::searchForVideos (   self,
  title,
  pagenumber 
)
Common name for a video search. Used to interface with MythTV plugin NetVision

Definition at line 364 of file tedtalks_api.py.

def nv_python_libs::tedtalks::tedtalks_api::displayTreeView (   self  ) 
Gather all videos for each TedTalks show
Display the results and exit

Definition at line 424 of file tedtalks_api.py.


Variable Documentation

string nv_python_libs::tedtalks::tedtalks_api::__title__ = "tedtalks_api - Simple-to-use Python interface to the TedTalks videos (http://www.ted.com)"

Definition at line 14 of file tedtalks_api.py.

Definition at line 15 of file tedtalks_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 the TedTalks Web site. These routines process videos
provided by TedTalks (http://www.ted.com). The specific TedTalks RSS feeds that are processed are controled through a user XML preference file usually found at
"~/.mythtv/MythNetvision/userGrabberPrefs/tedtalks.xml"
'''

Definition at line 16 of file tedtalks_api.py.

Definition at line 23 of file tedtalks_api.py.

Definition at line 75 of file tedtalks_api.py.

Definition at line 216 of file tedtalks_api.py.

Definition at line 243 of file tedtalks_api.py.

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