nv_python_libs::hulu::hulu_api Namespace Reference

Classes

class  OutStreamEncoder
class  Videos

Functions

def getHuluConfig
def getUserPreferences
def getSeasonEpisode
def searchTitle
def searchForVideos
def displayTreeView

Variables

string __title__ = "hulu_api - Simple-to-use Python interface to the Hulu RSS feeds (http://www.hulu.com/)"
string __author__ = "R.D. Vaughan"
string __purpose__
string __version__ = "v0.1.3"
string version = ''
 hulu_config
 userPrefs
 channel_icon

Function Documentation

def nv_python_libs::hulu::hulu_api::getHuluConfig (   self  ) 
Read the MNV Hulu grabber "hulu_config.xml" configuration file
return nothing

Definition at line 190 of file hulu_api.py.

def nv_python_libs::hulu::hulu_api::getUserPreferences (   self  ) 
Read the hulu_config.xml and user preference hulu.xml file.
If the hulu.xml file does not exist then copy the default.
return nothing

Definition at line 210 of file hulu_api.py.

def nv_python_libs::hulu::hulu_api::getSeasonEpisode (   self,
  title,
  desc = None,
  thumbnail = None 
)
Check is there is any season or episode number information in an item's title
return array of season and/or episode numbers, Series name (only if title empty)
return array with None values

Definition at line 244 of file hulu_api.py.

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

Definition at line 276 of file hulu_api.py.

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

Definition at line 377 of file hulu_api.py.

def nv_python_libs::hulu::hulu_api::displayTreeView (   self  ) 
Gather the Hulu feeds then get a max page of videos meta data in each of them
Display the results and exit

Definition at line 451 of file hulu_api.py.


Variable Documentation

string nv_python_libs::hulu::hulu_api::__title__ = "hulu_api - Simple-to-use Python interface to the Hulu RSS feeds (http://www.hulu.com/)"

Definition at line 14 of file hulu_api.py.

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

Definition at line 16 of file hulu_api.py.

Definition at line 23 of file hulu_api.py.

Definition at line 79 of file hulu_api.py.

Definition at line 203 of file hulu_api.py.

Definition at line 238 of file hulu_api.py.

Definition at line 468 of file hulu_api.py.

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