|
MythTV master
|
Public Member Functions | |
| def | __init__ (self) |
| def | cinemarvLinkGeneration (self, context, *args) |
| Start of XPath extension functions. More... | |
| def | cinemarvIsCustomHTML (self, context, *args) |
| def | cinemarvCheckIfDBItem (self, context, *arg) |
Public Attributes | |
| functList | |
| TextTail | |
| persistence | |
Functions specific extending XPath
Definition at line 73 of file cinemarv_api.py.
| def nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.__init__ | ( | self | ) |
Definition at line 76 of file cinemarv_api.py.
| def nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.cinemarvCheckIfDBItem | ( | self, | |
| context, | |||
| * | arg | ||
| ) |
Use a unique key value pairing to find out if the 'internetcontentarticles' table already has a matching item. This is done to save accessing the Internet when not required. Call example: 'mnvXpath:cinemarvCheckIfDBItem(.)' return True if a match was found return False if a match was not found
Definition at line 142 of file cinemarv_api.py.
| def nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.cinemarvIsCustomHTML | ( | self, | |
| context, | |||
| * | args | ||
| ) |
Check if the link is for a custom HTML
Example call: mnvXpath:cinemarvIsCustomHTML(('dummy'))
return True if the link does not starts with "http://"
return False if the link starts with "http://"
Definition at line 127 of file cinemarv_api.py.
Referenced by nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.cinemarvIsCustomHTML().
| def nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.cinemarvLinkGeneration | ( | self, | |
| context, | |||
| * | args | ||
| ) |
Start of XPath extension functions.
Generate a link for the CinemaRV.com site. A read of the item's web page is required to extract the flash video id. Call example: 'mnvXpath:cinemarvLinkGeneration(string(link))' return the url link
Definition at line 88 of file cinemarv_api.py.
| nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.functList |
Definition at line 77 of file cinemarv_api.py.
| nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.persistence |
Definition at line 79 of file cinemarv_api.py.
Referenced by nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.cinemarvIsCustomHTML(), nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.cinemarvLinkGeneration(), nv_python_libs.xsltfunctions.pbsXSL_api.xpathFunctions.pbsDownloadlink(), nv_python_libs.xsltfunctions.pbsXSL_api.xpathFunctions.pbsTitleSeriesEpisodeLink(), nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.spitzerLinkGeneration(), nv_python_libs.xsltfunctions.spitzer_api.xpathFunctions.spitzerThumbnailLink(), nv_python_libs.xsltfunctions.tedtalksXSL_api.xpathFunctions.tedtalksGetItem(), nv_python_libs.xsltfunctions.tedtalksXSL_api.xpathFunctions.tedtalksMakeItem(), nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions.traileraddictsLinkGenerationClip(), nv_python_libs.xsltfunctions.traileraddicts_api.xpathFunctions.traileraddictsLinkGenerationMovie(), nv_python_libs.xsltfunctions.tributeca_api.xpathFunctions.tributecaIsCustomHTML(), nv_python_libs.xsltfunctions.tributeca_api.xpathFunctions.tributecaLinkGeneration(), and nv_python_libs.xsltfunctions.tributeca_api.xpathFunctions.tributecaThumbnailLink().
| nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.TextTail |
Definition at line 78 of file cinemarv_api.py.
Referenced by nv_python_libs.xsltfunctions.tributeca_api.xpathFunctions.tributecaLinkGeneration().