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

Public Member Functions

def __init__ (self)
 
def pbsTitleSeriesEpisodeLink (self, context, *arg)
 Start of XPath extension functions. More...
 
def pbsDuration (self, context, *arg)
 
def pbsDownloadlink (self, context, *arg)
 

Public Attributes

 functList
 
 seriesEpisodeRegex
 
 namespaces
 
 persistence
 

Detailed Description

Functions specific extending XPath

Definition at line 90 of file pbsXSL_api.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 93 of file pbsXSL_api.py.

Member Function Documentation

◆ pbsTitleSeriesEpisodeLink()

def nv_python_libs.xsltfunctions.pbsXSL_api.xpathFunctions.pbsTitleSeriesEpisodeLink (   self,
  context,
arg 
)

Start of XPath extension functions.

Generate a link for the PBS site.
Call example: 'mnvXpath:pbsTitleSeriesEpisodeLink(normalize-space(./title),normalize-space(./link))/*'
return the title, link and season and episode number elements if any were in the title

Definition at line 118 of file pbsXSL_api.py.

◆ pbsDuration()

def nv_python_libs.xsltfunctions.pbsXSL_api.xpathFunctions.pbsDuration (   self,
  context,
arg 
)
Return the video duration in seconds
Call example: 'mnvXpath:pbsDuration(normalize-string(./dd/p[@class="info"]/span[@class="time"]))'
return the video duration

Definition at line 167 of file pbsXSL_api.py.

◆ pbsDownloadlink()

def nv_python_libs.xsltfunctions.pbsXSL_api.xpathFunctions.pbsDownloadlink (   self,
  context,
arg 
)
Return a previously created download link
Call example: 'mnvXpath:pbsDownloadlink(normalize-space(./link))'
return the url link

Definition at line 177 of file pbsXSL_api.py.

Member Data Documentation

◆ functList

nv_python_libs.xsltfunctions.pbsXSL_api.xpathFunctions.functList

Definition at line 94 of file pbsXSL_api.py.

◆ seriesEpisodeRegex

nv_python_libs.xsltfunctions.pbsXSL_api.xpathFunctions.seriesEpisodeRegex

◆ namespaces

nv_python_libs.xsltfunctions.pbsXSL_api.xpathFunctions.namespaces

Definition at line 103 of file pbsXSL_api.py.

◆ persistence

nv_python_libs.xsltfunctions.pbsXSL_api.xpathFunctions.persistence

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