Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
ModuleXbmcplugin.h File Reference
#include <vector>
#include "Tuple.h"
#include "AddonString.h"
#include "ListItem.h"
#include "swighelper.h"

Functions

 addDirectoryItem (...)
 

Function: xbmcplugin.addDirectoryItem(handle, url, listitem [,isFolder, totalItems])


Callback function to pass directory contents back to Kodi. More...

 
 addDirectoryItems (...)
 

Function: xbmcplugin.addDirectoryItems(handle, items[, totalItems])


Callback function to pass directory contents back to Kodi as a list. More...

 
 endOfDirectory (...)
 

Function: xbmcplugin.endOfDirectory(handle[, succeeded, updateListing, cacheToDisc])


Callback function to tell Kodi that the end of the directory listing in a virtualPythonFolder module is reached. More...

 
 setResolvedUrl (...)
 

Function: xbmcplugin.setResolvedUrl(handle, succeeded, listitem)


Callback function to tell Kodi that the file plugin has been resolved to a url More...

 
 addSortMethod (...)
 

Function: xbmcplugin.addSortMethod(handle, sortMethod [,label2Mask])


Adds a sorting method for the media list. More...

 
 getSetting (...)
 

Function: xbmcplugin.getSetting(handle, id)


Returns the value of a setting as a string. More...

 
 setSetting (...)
 

Function: xbmcplugin.setSetting(handle, id, value)


Sets a plugin setting for the current running plugin. More...

 
 setContent (...)
 

Function: xbmcplugin.setContent(handle, content)


Sets the plugins content. More...

 
 setPluginCategory (...)
 

Function: xbmcplugin.setPluginCategory(handle, category)


Sets the plugins name for skins to display. More...

 
 setPluginFanart (...)
 

Function: xbmcplugin.setPluginFanart(handle, image, color1, color2, color3)


Sets the plugins fanart and color for skins to display. More...

 
 setProperty (...)
 

Function: xbmcplugin.setProperty(handle, key, value)


Sets a container property for this plugin. More...