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

Public Member Functions

def __init__ (self)
 
def revision3LinkGeneration (self, context, *arg)
 Start of XPath extension functions. More...
 
def revision3Episode (self, context, *arg)
 
def revision3checkIfDBItem (self, context, arg)
 

Public Attributes

 functList
 
 episodeRegex
 
 namespaces
 
 mediaIdFilters
 
 FullScreen
 
 FullScreenParser
 

Detailed Description

Functions specific extending XPath

Definition at line 90 of file revision3XSL_api.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 93 of file revision3XSL_api.py.

Member Function Documentation

◆ revision3LinkGeneration()

def nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions.revision3LinkGeneration (   self,
  context,
arg 
)

Start of XPath extension functions.

Generate a link for the video.
Call example: 'mnvXpath:revision3LinkGeneration(string(link))'
return the url link

Definition at line 122 of file revision3XSL_api.py.

◆ revision3Episode()

def nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions.revision3Episode (   self,
  context,
arg 
)
Parse the download link and extract an episode number
Call example: 'mnvXpath:revision3Episode(.)'
return the a massaged title element and an episode element in an array

Definition at line 149 of file revision3XSL_api.py.

Referenced by nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions.revision3checkIfDBItem().

◆ revision3checkIfDBItem()

def nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions.revision3checkIfDBItem (   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:revision3checkIfDBItem(.)'
return True if a match was found
return False if a match was not found

Definition at line 170 of file revision3XSL_api.py.

Member Data Documentation

◆ functList

nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions.functList

Definition at line 94 of file revision3XSL_api.py.

◆ episodeRegex

nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions.episodeRegex

◆ namespaces

nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions.namespaces

Definition at line 98 of file revision3XSL_api.py.

◆ mediaIdFilters

nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions.mediaIdFilters

◆ FullScreen

nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions.FullScreen

◆ FullScreenParser

nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions.FullScreenParser

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