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

Functions

 addDirectoryItem (...)
 

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


Callback function to pass directory contents back to Kodi.
 
 addDirectoryItems (...)
 

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


Callback function to pass directory contents back to Kodi as a list.
 
 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.
 
 setResolvedUrl (...)
 

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


Callback function to tell Kodi that the file plugin has been resolved to a url
 
 addSortMethod (...)
 
 getSetting (...)
 

Function: xbmcplugin.getSetting(handle, id)


Returns the value of a setting as a string.
 
 setSetting (...)
 

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


Sets a plugin setting for the current running plugin.
 
 setContent (...)
 

Function: xbmcplugin.setContent(handle, content)


Sets the plugins content.
 
 setPluginCategory (...)
 

Function: xbmcplugin.setPluginCategory(handle, category)


Sets the plugins name for skins to display.
 
 setPluginFanart (...)
 

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


Sets the plugins fanart and color for skins to display.
 
 setProperty (...)
 

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


Sets a container property for this plugin.