Kodi Development  20.0
for Binary and Script based Add-Ons

Inherits AddonClass.

Public Member Functions

 addAvailableArtwork (...)
 

Function: addAvailableArtwork(images)


Add an image to available artworks (needed for video scrapers) More...
 
 addContextMenuItems (...)
 

Function: addContextMenuItems([(label, action),*])


Adds item(s) to the context menu for media lists. More...
 
 addSeason (...)
 

Function: addSeason(number, name = "")


Add a season with name to a listitem. It needs at least the season number More...
 
 addStreamInfo (...)
 

Function: addStreamInfo(type, values)


Add a stream with details. More...
 
 getArt (key)
 

Function: getArt(key)


Returns a listitem art path as a string, similar to an infolabel.
More...
 
 getDateTime ()
 

Function: getDateTime()


Returns the list item's datetime in W3C format (YYYY-MM-DDThh:mm:ssTZD). More...
 
 getGameInfoTag ()
 

Function: getGameInfoTag()


Returns the InfoTagGame for this item. More...
 
 getLabel ()
 

Function: getLabel()


Returns the listitem label. More...
 
 getLabel2 ()
 

Function: getLabel2()


Returns the second listitem label. More...
 
 getMusicInfoTag ()
 

Function: getMusicInfoTag()


Returns the MusicInfoTag for this item. More...
 
 getPath ()
 

Function: getPath()


Returns the path of this listitem. More...
 
 getPictureInfoTag ()
 

Function: getPictureInfoTag()


Returns the InfoTagPicture for this item. More...
 
 getProperty (...)
 

Function: getProperty(key)


Returns a listitem property as a string, similar to an infolabel. More...
 
 getRating (key)
 

Function: getRating(key)


Returns a listitem rating as a float.
More...
 
 getUniqueID (key)
 

Function: getUniqueID(key)


Returns a listitem uniqueID as a string, similar to an infolabel.
More...
 
 getVideoInfoTag ()
 

Function: getVideoInfoTag()


Returns the VideoInfoTag for this item. More...
 
 getVotes (key)
 

Function: getVotes(key)


Returns a listitem votes as a integer.
More...
 
 isFolder ()
 

Function: isFolder()


Returns whether the item is a folder or not. More...
 
 isSelected ()
 

Function: isSelected()


Returns the listitem's selected status. More...
 
 ListItem ([label, label2, path, offscreen])
 Selectable window list item. More...
 
 select (...)
 

Function: select(selected)


Sets the listitem's selected status. More...
 
 setArt (...)
 

Function: setArt(values)


Sets the listitem's art More...
 
 setAvailableFanart (...)
 

Function: setAvailableFanart(images)


Set available images (needed for video scrapers) More...
 
 setCast (...)
 

Function: setCast(actors)


Set cast including thumbnails More...
 
 setContentLookup (...)
 

Function: setContentLookup(enable)


Enable or disable content lookup for item. More...
 
 setDateTime (...)
 

Function: setDateTime(dateTime)


Sets the list item's datetime in W3C format. The following formats are supported: More...
 
 setInfo (...)
 

Function: setInfo(type, infoLabels)


Sets the listitem's infoLabels. More...
 
 setIsFolder (...)
 

Function: setIsFolder(isFolder)


Sets if this listitem is a folder. More...
 
 setLabel (...)
 

Function: setLabel(label)


Sets the listitem's label. More...
 
 setLabel2 (...)
 

Function: setLabel2(label)


Sets the listitem's label2. More...
 
 setMimeType (...)
 

Function: setMimeType(mimetype)


Sets the listitem's mimetype if known. More...
 
 setPath (...)
 

Function: setPath(path)


Sets the listitem's path. More...
 
 setProperties (...)
 

Function: setProperties(values)


Sets multiple properties for listitem's More...
 
 setProperty (...)
 

Function: setProperty(key, value)


Sets a listitem property, similar to an infolabel. More...
 
 setRating (...)
 

Function: setRating(type, rating, votes = 0, defaultt = False)


Sets a listitem's rating. It needs at least type and rating param More...
 
 setSubtitles (...)
 

Function: setSubtitles(subtitleFiles)


Sets subtitles for this listitem. More...
 
 setUniqueIDs (...)
 

Function: setUniqueIDs(values, defaultrating)


Sets the listitem's uniqueID More...
 

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