![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <string.h>
Typedefs | |
typedef enum ADDON_TYPE | ADDON_TYPE |
Enumerations | |
enum | ADDON_TYPE { ADDON_GLOBAL_MAIN = 0 , ADDON_GLOBAL_GUI = 1 , ADDON_GLOBAL_AUDIOENGINE = 2 , ADDON_GLOBAL_GENERAL = 3 , ADDON_GLOBAL_NETWORK = 4 , ADDON_GLOBAL_FILESYSTEM = 5 , ADDON_GLOBAL_MAX = 5 , ADDON_INSTANCE_AUDIODECODER = 102 , ADDON_INSTANCE_AUDIOENCODER = 103 , ADDON_INSTANCE_GAME = 104 , ADDON_INSTANCE_INPUTSTREAM = 105 , ADDON_INSTANCE_PERIPHERAL = 106 , ADDON_INSTANCE_PVR = 107 , ADDON_INSTANCE_SCREENSAVER = 108 , ADDON_INSTANCE_VISUALIZATION = 109 , ADDON_INSTANCE_VFS = 110 , ADDON_INSTANCE_IMAGEDECODER = 111 , ADDON_INSTANCE_VIDEOCODEC = 112 } |
Functions | |
const char * | GetTypeVersion (int type) |
const char * | GetTypeMinVersion (int type) |
const char * | GetTypeName (int type) |
int | GetTypeId (const char *name) |
#define ADDON_GLOBAL_VERSION_AUDIOENGINE "1.0.1" |
#define ADDON_GLOBAL_VERSION_AUDIOENGINE_DEPENDS "AudioEngine.h" |
#define ADDON_GLOBAL_VERSION_AUDIOENGINE_MIN "1.0.1" |
#define ADDON_GLOBAL_VERSION_AUDIOENGINE_XML_ID "kodi.binary.global.audioengine" |
#define ADDON_GLOBAL_VERSION_FILESYSTEM "1.0.2" |
#define ADDON_GLOBAL_VERSION_FILESYSTEM_DEPENDS "Filesystem.h" |
#define ADDON_GLOBAL_VERSION_FILESYSTEM_MIN "1.0.2" |
#define ADDON_GLOBAL_VERSION_FILESYSTEM_XML_ID "kodi.binary.global.filesystem" |
#define ADDON_GLOBAL_VERSION_GENERAL "1.0.3" |
#define ADDON_GLOBAL_VERSION_GENERAL_DEPENDS "General.h" |
#define ADDON_GLOBAL_VERSION_GENERAL_MIN "1.0.2" |
#define ADDON_GLOBAL_VERSION_GENERAL_XML_ID "kodi.binary.global.general" |
#define ADDON_GLOBAL_VERSION_GUI "5.12.0" |
#define ADDON_GLOBAL_VERSION_GUI_DEPENDS |
#define ADDON_GLOBAL_VERSION_GUI_MIN "5.10.0" |
#define ADDON_GLOBAL_VERSION_GUI_XML_ID "kodi.binary.global.gui" |
#define ADDON_GLOBAL_VERSION_MAIN "1.0.14" |
#define ADDON_GLOBAL_VERSION_MAIN_DEPENDS |
#define ADDON_GLOBAL_VERSION_MAIN_MIN "1.0.12" |
#define ADDON_GLOBAL_VERSION_MAIN_XML_ID "kodi.binary.global.main" |
#define ADDON_GLOBAL_VERSION_NETWORK "1.0.0" |
#define ADDON_GLOBAL_VERSION_NETWORK_DEPENDS "Network.h" |
#define ADDON_GLOBAL_VERSION_NETWORK_MIN "1.0.0" |
#define ADDON_GLOBAL_VERSION_NETWORK_XML_ID "kodi.binary.global.network" |
#define ADDON_INSTANCE_VERSION_AUDIODECODER "2.0.0" |
#define ADDON_INSTANCE_VERSION_AUDIODECODER_DEPENDS "addon-instance/AudioDecoder.h" |
#define ADDON_INSTANCE_VERSION_AUDIODECODER_MIN "2.0.0" |
#define ADDON_INSTANCE_VERSION_AUDIODECODER_XML_ID "kodi.binary.instance.audiodecoder" |
#define ADDON_INSTANCE_VERSION_AUDIOENCODER "2.0.0" |
#define ADDON_INSTANCE_VERSION_AUDIOENCODER_DEPENDS "addon-instance/AudioEncoder.h" |
#define ADDON_INSTANCE_VERSION_AUDIOENCODER_MIN "2.0.0" |
#define ADDON_INSTANCE_VERSION_AUDIOENCODER_XML_ID "kodi.binary.instance.audioencoder" |
#define ADDON_INSTANCE_VERSION_GAME "1.1.0" |
#define ADDON_INSTANCE_VERSION_GAME_DEPENDS |
#define ADDON_INSTANCE_VERSION_GAME_MIN "1.1.0" |
#define ADDON_INSTANCE_VERSION_GAME_XML_ID "kodi.binary.instance.game" |
#define ADDON_INSTANCE_VERSION_IMAGEDECODER "2.0.0" |
#define ADDON_INSTANCE_VERSION_IMAGEDECODER_DEPENDS "addon-instance/ImageDecoder.h" |
#define ADDON_INSTANCE_VERSION_IMAGEDECODER_MIN "2.0.0" |
#define ADDON_INSTANCE_VERSION_IMAGEDECODER_XML_ID "kodi.binary.instance.imagedecoder" |
#define ADDON_INSTANCE_VERSION_INPUTSTREAM "2.0.8" |
#define ADDON_INSTANCE_VERSION_INPUTSTREAM_DEPENDS "addon-instance/Inputstream.h" |
#define ADDON_INSTANCE_VERSION_INPUTSTREAM_MIN "2.0.7" |
#define ADDON_INSTANCE_VERSION_INPUTSTREAM_XML_ID "kodi.binary.instance.inputstream" |
#define ADDON_INSTANCE_VERSION_PERIPHERAL "1.3.7" |
#define ADDON_INSTANCE_VERSION_PERIPHERAL_DEPENDS |
#define ADDON_INSTANCE_VERSION_PERIPHERAL_MIN "1.3.4" |
#define ADDON_INSTANCE_VERSION_PERIPHERAL_XML_ID "kodi.binary.instance.peripheral" |
#define ADDON_INSTANCE_VERSION_PVR "5.10.3" |
#define ADDON_INSTANCE_VERSION_PVR_DEPENDS |
#define ADDON_INSTANCE_VERSION_PVR_MIN "5.10.0" |
#define ADDON_INSTANCE_VERSION_PVR_XML_ID "kodi.binary.instance.pvr" |
#define ADDON_INSTANCE_VERSION_SCREENSAVER "2.0.0" |
#define ADDON_INSTANCE_VERSION_SCREENSAVER_DEPENDS "addon-instance/Screensaver.h" |
#define ADDON_INSTANCE_VERSION_SCREENSAVER_MIN "2.0.0" |
#define ADDON_INSTANCE_VERSION_SCREENSAVER_XML_ID "kodi.binary.instance.screensaver" |
#define ADDON_INSTANCE_VERSION_VFS "2.0.0" |
#define ADDON_INSTANCE_VERSION_VFS_DEPENDS "addon-instance/VFS.h" |
#define ADDON_INSTANCE_VERSION_VFS_MIN "2.0.0" |
#define ADDON_INSTANCE_VERSION_VFS_XML_ID "kodi.binary.instance.vfs" |
#define ADDON_INSTANCE_VERSION_VIDEOCODEC "1.0.1" |
#define ADDON_INSTANCE_VERSION_VIDEOCODEC_DEPENDS |
#define ADDON_INSTANCE_VERSION_VIDEOCODEC_MIN "1.0.1" |
#define ADDON_INSTANCE_VERSION_VIDEOCODEC_XML_ID "kodi.binary.instance.videocodec" |
#define ADDON_INSTANCE_VERSION_VISUALIZATION "2.0.1" |
#define ADDON_INSTANCE_VERSION_VISUALIZATION_DEPENDS "addon-instance/Visualization.h" |
#define ADDON_INSTANCE_VERSION_VISUALIZATION_MIN "2.0.0" |
#define ADDON_INSTANCE_VERSION_VISUALIZATION_XML_ID "kodi.binary.instance.visualization" |
#define STR | ( | x | ) | STR_HELPER(x) |
#define STR_HELPER | ( | x | ) | #x |
typedef enum ADDON_TYPE ADDON_TYPE |
The currently available instance types for Kodi add-ons
enum ADDON_TYPE |
The currently available instance types for Kodi add-ons
|
inline |
Function used internally on add-on and in Kodi itself to get id number about given type name.
[in] | name | The type name string to ask |
|
inline |
This is used from Kodi to get the minimum supported version of add-on parts. It is compiled in add-on and also in Kodi itself, with this can be Kodi compare the version from him with them on add-on.
[in] | type | The with 'enum ADDON_TYPE' type to ask |
|
inline |
Function used internally on add-on and in Kodi itself to get name about given type.
[in] | type | The with 'enum ADDON_TYPE' defined type to ask |
|
inline |
This is used from Kodi to get the active version of add-on parts. It is compiled in add-on and also in Kodi itself, with this can be Kodi compare the version from him with them on add-on.
[in] | type | The with 'enum ADDON_TYPE' type to ask |