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
Collaboration diagram for nv_python_libs.xsltfunctions.youtubeXSL_api.xpathFunctions:
Collaboration graph

Public Member Functions

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

Public Attributes


Detailed Description

Functions specific extending XPath

Definition at line 89 of file

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 92 of file

Member Function Documentation

◆ youtubeTrailerFilter()

def nv_python_libs.xsltfunctions.youtubeXSL_api.xpathFunctions.youtubeTrailerFilter (   self,

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

◆ youtubePaging()

def nv_python_libs.xsltfunctions.youtubeXSL_api.xpathFunctions.youtubePaging (   self,
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

Member Data Documentation

◆ functList


Definition at line 93 of file

◆ tailerNum_Patterns


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