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

Public Member Functions

def __init__ (self)
 
def youtubeTrailerFilter (self, context, *args)
 Start of XPath extension functions. More...
 
def youtubePaging (self, context, args)
 

Public Attributes

 functList
 
 tailerNum_Patterns
 

Detailed Description

Functions specific extending XPath

Definition at line 89 of file youtubeXSL_api.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 92 of file youtubeXSL_api.py.

Member Function Documentation

◆ youtubeTrailerFilter()

def nv_python_libs.xsltfunctions.youtubeXSL_api.xpathFunctions.youtubeTrailerFilter (   self,
  context,
args 
)

Start of XPath extension functions.

Generate a list of entry elements that are relevant to the requested search term. Basically
remove duplicate and non-relevant search results and order them to provide the best results
for the user.
Also set the paging variables.
Call example: 'mnvXpath:youtubeTrailerFilter(//atm:entry)'
return the list of relevant "entry" elements

Definition at line 108 of file youtubeXSL_api.py.

◆ youtubePaging()

def nv_python_libs.xsltfunctions.youtubeXSL_api.xpathFunctions.youtubePaging (   self,
  context,
  args 
)
Generate a page value specific to the mashup search for YouTube searches
Call example: 'mnvXpath:youtubePaging('dummy')'
The page value is some times a page # and sometimes an item position number
return the page value that will be used in the search as a string

Definition at line 195 of file youtubeXSL_api.py.

Member Data Documentation

◆ functList

nv_python_libs.xsltfunctions.youtubeXSL_api.xpathFunctions.functList

Definition at line 93 of file youtubeXSL_api.py.

◆ tailerNum_Patterns

nv_python_libs.xsltfunctions.youtubeXSL_api.xpathFunctions.tailerNum_Patterns

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