|
MythTV
0.26-pre
|
Public Member Functions | |
| def | __init__ |
| def | mevioLinkGeneration |
| Start of XPath extension functions. | |
| def | mevioTitle |
| def | mevioEpisode |
| def | mevioCheckIfDBItem |
Public Attributes | |
| functList | |
| episodeRegex | |
| namespaces | |
| mediaIdFilters | |
Functions specific extending XPath
Definition at line 92 of file mevio_api.py.
Definition at line 95 of file mevio_api.py.
| def nv_python_libs.xsltfunctions.mevio_api.xpathFunctions.mevioLinkGeneration | ( | self, | |
| context, | |||
| arg | |||
| ) |
Start of XPath extension functions.
Generate a link for the video. Call example: 'mnvXpath:mevioLinkGeneration(string(link))' return the url link
Definition at line 125 of file mevio_api.py.
| def nv_python_libs.xsltfunctions.mevio_api.xpathFunctions.mevioTitle | ( | self, | |
| context, | |||
| arg | |||
| ) |
Parse the title string extract only the title text removing the redundant show name Call example: 'mnvXpath:mevioTitle(./title/text())' return the title text
Definition at line 149 of file mevio_api.py.
| def nv_python_libs.xsltfunctions.mevio_api.xpathFunctions.mevioEpisode | ( | self, | |
| context, | |||
| arg | |||
| ) |
Parse the title string and extract an episode number Call example: 'mnvXpath:mevioEpisode(./title/text())' return an episode element
Definition at line 177 of file mevio_api.py.
Referenced by nv_python_libs.xsltfunctions.mevio_api.xpathFunctions.mevioTitle().
| def nv_python_libs.xsltfunctions.mevio_api.xpathFunctions.mevioCheckIfDBItem | ( | 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:mevioCheckIfDBItem(title, description)' return True if a match was found return False if a match was not found
Definition at line 191 of file mevio_api.py.
Definition at line 95 of file mevio_api.py.
Definition at line 95 of file mevio_api.py.
Referenced by nv_python_libs.xsltfunctions.mevio_api.xpathFunctions.mevioEpisode(), and nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions.revision3Episode().
Definition at line 95 of file mevio_api.py.
Definition at line 95 of file mevio_api.py.
Referenced by nv_python_libs.xsltfunctions.mevio_api.xpathFunctions.mevioLinkGeneration(), and nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions.revision3LinkGeneration().
1.7.6.1