![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Namespaces | |
namespace | MUSICDATABASEDIRECTORY |
namespace | VIDEODATABASEDIRECTORY |
Typedefs | |
template<class TEntry> | |
using | DirectorizeEntryToFileItemFunction = CFileItemPtr(*)(const TEntry& entry, const std::string& label, const std::string& path, bool isFolder) |
Method definition to convert an entry to a CFileItemPtr. | |
template<class TEntry> | |
using | DirectorizeEntry = std::pair<std::string, TEntry> |
template<class TEntry> | |
using | DirectorizeEntries = std::vector<DirectorizeEntry<TEntry>> |
Enumerations | |
enum class | CacheType { NEVER = 0 , ONCE , ALWAYS } |
enum | DIR_FLAG { DIR_FLAG_DEFAULTS = 0 , DIR_FLAG_NO_FILE_DIRS = (2 << 0) , DIR_FLAG_ALLOW_PROMPT = (2 << 1) , DIR_FLAG_NO_FILE_INFO = (2 << 2) , DIR_FLAG_GET_HIDDEN = (2 << 3) , DIR_FLAG_READ_CACHE = (2 << 4) , DIR_FLAG_BYPASS_CACHE } |
Available directory flags The defaults are to allow file directories, no prompting, retrieve file information, hide hidden files, and utilise the directory cache based on the implementation's wishes. More... | |
enum class | CacheBufferMode { INTERNET = 0 , ALL = 1 , TRUE_INTERNET = 2 , NONE = 3 , NETWORK = 4 } |
enum class | IOControl { NATIVE = 1 , SEEK_POSSIBLE = 2 , CACHE_STATUS = 3 , CACHE_SETRATE = 4 , SET_CACHE = 8 , SET_RETRY = 16 } |
enum class | CURLOptionType { OPTION , PROTOCOL , CREDENTIALS , HEADER } |
enum class | FileProperty { RESPONSE_PROTOCOL , RESPONSE_HEADER , CONTENT_TYPE , CONTENT_CHARSET , MIME_TYPE , EFFECTIVE_URL } |
Variables | |
const auto | CATEGORY_INFO_PROVIDERS = "category.infoproviders" |
const auto | CATEGORY_LOOK_AND_FEEL = "category.lookandfeel" |
const auto | CATEGORY_GAME_ADDONS = "category.gameaddons" |
const auto | CATEGORY_EMULATORS = "category.emulators" |
const auto | CATEGORY_STANDALONE_GAMES = "category.standalonegames" |
const auto | CATEGORY_GAME_PROVIDERS = "category.gameproviders" |
const auto | CATEGORY_GAME_RESOURCES = "category.gameresources" |
const auto | CATEGORY_GAME_SUPPORT_ADDONS = "category.gamesupport" |
const std::set< AddonType > | infoProviderTypes |
const std::set< AddonType > | lookAndFeelTypes |
const std::set< AddonType > | gameTypes |
using XFILE::DirectorizeEntries = std::vector<DirectorizeEntry<TEntry>> |
using XFILE::DirectorizeEntry = std::pair<std::string, TEntry> |
using XFILE::DirectorizeEntryToFileItemFunction = CFileItemPtr(*)(const TEntry& entry, const std::string& label, const std::string& path, bool isFolder) |
Method definition to convert an entry to a CFileItemPtr.
entry | The entry to convert to a CFileItemPtr |
label | The label of the entry |
path | The path of the entry |
isFolder | Whether the entry is a folder or not |
|
strong |
|
strong |
|
strong |
enum XFILE::DIR_FLAG |
Available directory flags The defaults are to allow file directories, no prompting, retrieve file information, hide hidden files, and utilise the directory cache based on the implementation's wishes.
|
strong |
The following names for CURL_OPTION_PROTOCOL are possible:
accept-charset: Set the "accept-charset" header acceptencoding or encoding: Set the "accept-encoding" header active-remote: Set the "active-remote" header auth: Set the authentication method. Possible values: any, anysafe, digest, ntlm connection-timeout: Set the connection timeout in seconds cookie: Set the "cookie" header customrequest: Set a custom HTTP request like DELETE noshout: Set to true if kodi detects a stream as shoutcast by mistake. postdata: Set the post body (value needs to be base64 encoded). (Implicitly sets the request to POST) referer: Set the "referer" header user-agent: Set the "user-agent" header seekable: Set the stream seekable. 1: enable, 0: disable sslcipherlist: Set list of accepted SSL ciphers.
|
strong |
Enumerator | |
---|---|
NATIVE | SNativeIoControl structure, containing what should be passed to native ioctrl |
SEEK_POSSIBLE | return 0 if known not to work, 1 if it should work |
CACHE_STATUS | SCacheStatus structure |
CACHE_SETRATE | unsigned int with speed limit for caching in bytes per second |
SET_CACHE | |
SET_RETRY | Enable/disable retry within the protocol handler (if supported) |
const auto XFILE::CATEGORY_EMULATORS = "category.emulators" |
const auto XFILE::CATEGORY_GAME_ADDONS = "category.gameaddons" |
const auto XFILE::CATEGORY_GAME_PROVIDERS = "category.gameproviders" |
const auto XFILE::CATEGORY_GAME_RESOURCES = "category.gameresources" |
const auto XFILE::CATEGORY_GAME_SUPPORT_ADDONS = "category.gamesupport" |
const auto XFILE::CATEGORY_INFO_PROVIDERS = "category.infoproviders" |
const auto XFILE::CATEGORY_LOOK_AND_FEEL = "category.lookandfeel" |
const auto XFILE::CATEGORY_STANDALONE_GAMES = "category.standalonegames" |
const std::set<AddonType> XFILE::gameTypes |
const std::set<AddonType> XFILE::infoProviderTypes |
const std::set<AddonType> XFILE::lookAndFeelTypes |