MythTV  master
Public Member Functions | Public Attributes | List of all members
nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions Class Reference
Inheritance diagram for nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions:
Inheritance graph
Collaboration diagram for nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions:
Collaboration graph

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


Detailed Description

Functions specific extending XPath

Definition at line 88 of file

Constructor & Destructor Documentation

◆ __init__()

def nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.__init__ (   self)

Definition at line 91 of file

Member Function Documentation

◆ cinemarvLinkGeneration()

def nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.cinemarvLinkGeneration (   self,

Start of XPath extension functions.

Generate a link for the 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 103 of file

◆ cinemarvIsCustomHTML()

def nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.cinemarvIsCustomHTML (   self,
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 142 of file

◆ cinemarvCheckIfDBItem()

def nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.cinemarvCheckIfDBItem (   self,
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 157 of file

Member Data Documentation

◆ functList


Definition at line 92 of file

◆ TextTail


◆ persistence


The documentation for this class was generated from the following file: