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
[legend]
Collaboration diagram for nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions:
Collaboration graph
[legend]

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
 

Detailed Description

Functions specific extending XPath

Definition at line 90 of file cinemarv_api.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 93 of file cinemarv_api.py.

Member Function Documentation

◆ cinemarvLinkGeneration()

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 105 of file cinemarv_api.py.

◆ cinemarvIsCustomHTML()

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 144 of file cinemarv_api.py.

◆ cinemarvCheckIfDBItem()

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 159 of file cinemarv_api.py.

Member Data Documentation

◆ functList

nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.functList

Definition at line 94 of file cinemarv_api.py.

◆ TextTail

nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.TextTail

◆ persistence

nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions.persistence

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