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

Public Member Functions

def __init__ (self)
 
def linuxActionLinkGeneration (self, context, *arg)
 Start of XPath extension functions. More...
 
def linuxActionTitleSeEp (self, context, *arg)
 
def linuxActioncheckIfDBItem (self, context, *arg)
 

Public Attributes

 functList
 
 s_e_Regex
 
 namespaces
 
 mediaIdFilters
 
 FullScreen
 
 FullScreenParser
 

Detailed Description

Functions specific extending XPath

Definition at line 90 of file linuxAction_api.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 93 of file linuxAction_api.py.

Member Function Documentation

◆ linuxActionLinkGeneration()

def nv_python_libs.xsltfunctions.linuxAction_api.xpathFunctions.linuxActionLinkGeneration (   self,
  context,
arg 
)

Start of XPath extension functions.

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

Definition at line 124 of file linuxAction_api.py.

◆ linuxActionTitleSeEp()

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

Definition at line 152 of file linuxAction_api.py.

Referenced by nv_python_libs.xsltfunctions.linuxAction_api.xpathFunctions.linuxActioncheckIfDBItem().

◆ linuxActioncheckIfDBItem()

def nv_python_libs.xsltfunctions.linuxAction_api.xpathFunctions.linuxActioncheckIfDBItem (   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:linuxActioncheckIfDBItem(title, author)'
return True if a match was found
return False if a match was not found

Definition at line 193 of file linuxAction_api.py.

Member Data Documentation

◆ functList

nv_python_libs.xsltfunctions.linuxAction_api.xpathFunctions.functList

Definition at line 94 of file linuxAction_api.py.

◆ s_e_Regex

nv_python_libs.xsltfunctions.linuxAction_api.xpathFunctions.s_e_Regex

◆ namespaces

nv_python_libs.xsltfunctions.linuxAction_api.xpathFunctions.namespaces

Definition at line 101 of file linuxAction_api.py.

◆ mediaIdFilters

nv_python_libs.xsltfunctions.linuxAction_api.xpathFunctions.mediaIdFilters

◆ FullScreen

nv_python_libs.xsltfunctions.linuxAction_api.xpathFunctions.FullScreen

◆ FullScreenParser

nv_python_libs.xsltfunctions.linuxAction_api.xpathFunctions.FullScreenParser

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