Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Namespaces | |
namespace | AddonEvents |
namespace | GUI |
Classes | |
struct | AddonEvent |
struct | AddonIdFinder |
class | CAddon |
class | CAddonBuilder |
class | CAddonDatabase |
class | CAddonDatabaseSerializer |
Addon content serializer/deserializer. More... | |
class | CAddonDll |
class | CAddonDllInformer |
Information class for use on addon type managers. More... | |
class | CAddonExtensions |
class | CAddonGUITranslator |
Translates data types from GUI API to the corresponding format in Kodi. More... | |
class | CAddonInfo |
class | CAddonInfoBuilder |
class | CAddonInfoBuilderFromDB |
class | CAddonInstaller |
class | CAddonMgr |
class | CAddonRepos |
class | CAddonSettings |
class | CAddonStatusHandler |
class | CAddonSystemSettings |
class | CAddonType |
class | CAddonUpdateRules |
class | CAddonVersion |
class | CBinaryAddonBase |
class | CBinaryAddonCache |
class | CBinaryAddonManager |
class | CContextMenuAddon |
class | CExtValues |
class | CFontResource |
class | CGameResource |
class | CGUIAddonRenderingControl |
class | CGUIAddonWindow |
class | CGUIAddonWindowDialog |
class | CImageResource |
A collection of images. The collection can have a type. More... | |
class | CLanguageResource |
struct | closestRes |
struct | ContentMapping |
class | CPluginSource |
class | CRepository |
class | CRepositoryUpdateJob |
class | CRepositoryUpdater |
class | CResource |
class | CScraper |
class | CScraperError |
class | CService |
class | CServiceAddonManager |
class | CSettingUrlEncodedString |
class | CSkinInfo |
class | CSkinSetting |
class | CSkinSettingBool |
class | CSkinSettingString |
class | CSkinSettingUpdateHandler |
class | CUISoundsResource |
class | CVFSAddonCache |
class | CVFSEntry |
A virtual filesystem entry add-on. More... | |
class | CVFSEntryIDirectoryWrapper |
Wrapper equpping a CVFSEntry with an IDirectory interface. More... | |
class | CVFSEntryIFileDirectoryWrapper |
Wrapper equpping a CVFSEntry with an IFileDirectory interface. More... | |
class | CVFSEntryIFileWrapper |
Wrapper equipping a CVFSEntry with an IFile interface. More... | |
class | CVFSURLWrapper |
class | CWebinterface |
struct | DependencyInfo |
class | IAddon |
class | IAddonInstanceHandler |
class | IAddonMgrCallback |
class | IAddonProvider |
struct | Interface_Android |
struct | Interface_AudioEngine |
struct | Interface_Base |
Global general Add-on to Kodi callback functions. More... | |
struct | Interface_Filesystem |
struct | Interface_General |
Global general Add-on to Kodi callback functions. More... | |
struct | Interface_GUIControlAddonRendering |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIControlButton |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIControlEdit |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIControlFadeLabel |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIControlImage |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIControlLabel |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIControlProgress |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIControlRadioButton |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIControlSettingsSlider |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIControlSlider |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIControlSpin |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIControlTextBox |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIDialogContextMenu |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIDialogExtendedProgress |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIDialogFileBrowser |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIDialogKeyboard |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIDialogNumeric |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIDialogOK |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIDialogProgress |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIDialogSelect |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIDialogTextViewer |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIDialogYesNo |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIGeneral |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIListItem |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_GUIWindow |
Global gui Add-on to Kodi callback functions. More... | |
struct | Interface_Network |
Global general Add-on to Kodi callback functions. More... | |
struct | RepoInfo |
struct | RepositoryDirInfo |
struct | SExtValue |
struct | TypeMapping |
Typedefs | |
using | AddonInfoPtr = std::shared_ptr<CAddonInfo> |
using | AddonPtr = std::shared_ptr<IAddon> |
using | VECADDONS = std::vector<AddonPtr> |
typedef std::vector< std::pair< std::string, CAddonExtensions > > | EXT_ELEMENTS |
typedef std::vector< std::pair< std::string, SExtValue > > | EXT_VALUE |
typedef std::vector< std::pair< std::string, CExtValues > > | EXT_VALUES |
typedef std::vector< AddonInfoPtr > | AddonInfos |
using | AddonInstanceId = uint32_t |
using | InfoMap = std::map<std::string, std::string> |
using | ArtMap = std::map<std::string, std::string> |
using | RepositoryPtr = std::shared_ptr<CRepository> |
using | ADDON_INFO_LIST = std::map<std::string, AddonInfoPtr> |
using | AddonWithUpdate = std::pair<std::shared_ptr<IAddon>, std::shared_ptr<IAddon>> |
using | BinaryAddonBasePtr = std::shared_ptr<CBinaryAddonBase> |
using | ADDON_INSTANCE_HANDLER = void* |
using | AddonDllPtr = std::shared_ptr<CAddonDll> |
typedef void *(* | ADDON_GET_INTERFACE_FN) (const std::string &name, const std::string &version) |
typedef std::map< std::string, std::vector< std::string > > | ContentPathMap |
typedef std::vector< RepositoryDirInfo > | RepositoryDirList |
typedef std::shared_ptr< CScraper > | ScraperPtr |
typedef std::shared_ptr< CSkinSetting > | CSkinSettingPtr |
typedef std::shared_ptr< CSkinSettingString > | CSkinSettingStringPtr |
typedef std::shared_ptr< CSkinSettingBool > | CSkinSettingBoolPtr |
typedef std::shared_ptr< CVFSEntry > | VFSEntryPtr |
typedef enum ADDON::WebinterfaceType | WebinterfaceType |
Variables | |
constexpr const char * | KODI_ADDON_DEFAULT_LANGUAGE_CODE = "en_GB" |
const int | AUTO_UPDATES_ON = 0 |
const int | AUTO_UPDATES_NOTIFY = 1 |
const int | AUTO_UPDATES_NEVER = 2 |
const std::vector< AddonType > | ADDONS_TO_CACHE = {AddonType::GAMEDLL} |
constexpr const char * | ADDON_SETTING_INSTANCE_GROUP = "kodi_addon_instance" |
constexpr const char * | ADDON_SETTING_INSTANCE_NAME_VALUE = "kodi_addon_instance_name" |
constexpr const char * | ADDON_SETTING_INSTANCE_ENABLED_VALUE = "kodi_addon_instance_enabled" |
constexpr AddonInstanceId | ADDON_SINGLETON_INSTANCE_ID = 0 |
Identifier denoting default add-on instance. | |
constexpr AddonInstanceId | ADDON_FIRST_INSTANCE_ID = 1 |
Identifier denoting initial first add-on instance. | |
constexpr AddonInstanceId | ADDON_INSTANCE_ID_UNUSED = ADDON_SINGLETON_INSTANCE_ID |
Identifier denoting add-on instance id as unused. | |
constexpr AddonInstanceId | ADDON_SETTINGS_ID = ADDON_SINGLETON_INSTANCE_ID |
Identifier denoting default add-on settings.xml. | |
constexpr char const * | ORIGIN_SYSTEM = "b6a50484-93a0-4afb-a01c-8d17e059feda" |
typedef void *(* ADDON::ADDON_GET_INTERFACE_FN) (const std::string &name, const std::string &version) |
using ADDON::ADDON_INFO_LIST = std::map<std::string, AddonInfoPtr> |
using ADDON::ADDON_INSTANCE_HANDLER = void* |
Addon instance handler, used as identify for std::map to find related addon instance. This class itself not accessed here.
typedef std::shared_ptr< CAddonDll > ADDON::AddonDllPtr = std::shared_ptr<CAddonDll> |
typedef std::shared_ptr< CAddonInfo > ADDON::AddonInfoPtr = std::shared_ptr<CAddonInfo> |
typedef std::vector<AddonInfoPtr> ADDON::AddonInfos |
typedef uint32_t ADDON::AddonInstanceId = uint32_t |
typedef std::shared_ptr< IAddon > ADDON::AddonPtr = std::shared_ptr<IAddon> |
using ADDON::AddonWithUpdate = std::pair<std::shared_ptr<IAddon>, std::shared_ptr<IAddon>> |
typedef std::map< std::string, std::string > ADDON::ArtMap = std::map<std::string, std::string> |
typedef std::shared_ptr< CBinaryAddonBase > ADDON::BinaryAddonBasePtr = std::shared_ptr<CBinaryAddonBase> |
typedef std::map<std::string, std::vector<std::string> > ADDON::ContentPathMap |
typedef std::shared_ptr<CSkinSettingBool> ADDON::CSkinSettingBoolPtr |
typedef std::shared_ptr<CSkinSetting> ADDON::CSkinSettingPtr |
typedef std::shared_ptr<CSkinSettingString> ADDON::CSkinSettingStringPtr |
typedef std::vector<std::pair<std::string, CAddonExtensions> > ADDON::EXT_ELEMENTS |
typedef std::vector<std::pair<std::string, SExtValue> > ADDON::EXT_VALUE |
typedef std::vector<std::pair<std::string, CExtValues> > ADDON::EXT_VALUES |
typedef std::map< std::string, std::string > ADDON::InfoMap = std::map<std::string, std::string> |
typedef std::vector<RepositoryDirInfo> ADDON::RepositoryDirList |
typedef std::shared_ptr< CRepository > ADDON::RepositoryPtr = std::shared_ptr<CRepository> |
typedef std::shared_ptr<CScraper> ADDON::ScraperPtr |
typedef std::vector< AddonPtr > ADDON::VECADDONS = std::vector<AddonPtr> |
typedef std::shared_ptr<CVFSEntry> ADDON::VFSEntryPtr |
typedef enum ADDON::WebinterfaceType ADDON::WebinterfaceType |
|
strong |
|
strong |
|
strong |
Independent add-on instance support.
Used to be able to find out its instance path for the respective add-on types.
|
strong |
Add-on state defined within addon.xml to report about the current addon lifecycle state.
E.g. the add-on is broken and can no longer be used.
XML examples:
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
bool ADDON::DetailsFromFileItem< CVideoInfoTag > | ( | const CFileItem & | item, |
CVideoInfoTag & | tag ) |
CMusicAlbumInfo ADDON::FromFileItem< CMusicAlbumInfo > | ( | const CFileItem & | item | ) |
CMusicArtistInfo ADDON::FromFileItem< CMusicArtistInfo > | ( | const CFileItem & | item | ) |
CScraperUrl ADDON::FromFileItem< CScraperUrl > | ( | const CFileItem & | item | ) |
bool ADDON::GetSettingValue | ( | CAddon & | addon, |
AddonInstanceId | instanceId, | ||
const std::string & | key, | ||
typename TSetting::Value & | value ) |
AddonType ADDON::ScraperTypeFromContent | ( | const CONTENT_TYPE & | content | ) |
std::string ADDON::TranslateContent | ( | const CONTENT_TYPE & | type, |
bool | pretty ) |
CONTENT_TYPE ADDON::TranslateContent | ( | const std::string & | string | ) |
bool ADDON::UpdateSettingValue | ( | CAddon & | addon, |
AddonInstanceId | instanceId, | ||
const std::string & | key, | ||
typename TSetting::Value | value ) |
|
constexpr |
Identifier denoting initial first add-on instance.
|
constexpr |
Identifier denoting add-on instance id as unused.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Identifier denoting default add-on settings.xml.
All numbers greater than 0 denote add-on instances with an individual set of settings.
|
constexpr |
Identifier denoting default add-on instance.
All numbers greater than 0 denote add-ons with support for multiple instances.
const std::vector<AddonType> ADDON::ADDONS_TO_CACHE = {AddonType::GAMEDLL} |
const int ADDON::AUTO_UPDATES_NEVER = 2 |
const int ADDON::AUTO_UPDATES_NOTIFY = 1 |
const int ADDON::AUTO_UPDATES_ON = 0 |
|
constexpr |
Defines the default language code used as fallback in case the requested language is not available. Used, for instance, to handle content from addon.xml.
|
constexpr |