nv_python_libs::rev3::rev3_api Namespace Reference

Classes

class  OutStreamEncoder
class  Videos

Functions

def getRev3Config
def getUserPreferences
def updateRev3
def getSeasonEpisode
def getVideoID
def searchTitle
def searchForVideos
def displayTreeView

Variables

string __title__ = "rev3_api - Simple-to-use Python interface to the Revision3 RSS feeds (http://revision3.com/)"
string __author__ = "R.D. Vaughan"
string __purpose__
string __version__ = "v0.1.4"
string version = ''
 rev3_config
 userPrefs

Function Documentation

def nv_python_libs::rev3::rev3_api::getRev3Config (   self  ) 
Read the MNV Revision3 grabber "rev3_config.xml" configuration file
return nothing

Definition at line 196 of file rev3_api.py.

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

Definition at line 216 of file rev3_api.py.

def nv_python_libs::rev3::rev3_api::updateRev3 (   self,
  create = False 
)
Create or update the rev3.xml user preferences file
return nothing

Definition at line 254 of file rev3_api.py.

def nv_python_libs::rev3::rev3_api::getSeasonEpisode (   self,
  title,
  link = None 
)
Check is there is any season or episode number information in an item's title
return array of season and/or episode numbers
return array with None values

Definition at line 437 of file rev3_api.py.

def nv_python_libs::rev3::rev3_api::getVideoID (   self,
  link 
)
Read the Web page to find the video ID number used for fullscreen autoplay
return the video ID number
return None if the number cannot be found

Definition at line 461 of file rev3_api.py.

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

Definition at line 502 of file rev3_api.py.

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

Definition at line 581 of file rev3_api.py.

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

Definition at line 645 of file rev3_api.py.


Variable Documentation

string nv_python_libs::rev3::rev3_api::__title__ = "rev3_api - Simple-to-use Python interface to the Revision3 RSS feeds (http://revision3.com/)"

Definition at line 14 of file rev3_api.py.

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

Definition at line 16 of file rev3_api.py.

Definition at line 23 of file rev3_api.py.

Definition at line 81 of file rev3_api.py.

Definition at line 209 of file rev3_api.py.

Definition at line 236 of file rev3_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