Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Classes | |
class | CCtrlPointReferenceHolder |
class | CDeviceHostReferenceHolder |
class | CMediaBrowser |
class | CMediaController |
class | CRendererReferenceHolder |
class | CResourceFinder |
class | CUPnP |
class | CUPnPCleaner |
class | CUPnPPlayer |
class | CUPnPPlayerController |
class | CUPnPRenderer |
class | CUPnPServer |
struct | ResourcePrioritySort |
Enumerations | |
enum | UPnPService { UPnPServiceNone = 0 , UPnPClient , UPnPContentDirectory , UPnPPlayer , UPnPRenderer } |
enum | EClientQuirks { ECLIENTQUIRKS_NONE = 0x0 , ECLIENTQUIRKS_ONLYSTORAGEFOLDER = 0x01 , ECLIENTQUIRKS_BASICVIDEOCLASS = 0x02 , ECLIENTQUIRKS_UNKNOWNSERIES = 0x04 } |
enum | EMediaControllerQuirks { EMEDIACONTROLLERQUIRKS_NONE = 0x00 , EMEDIACONTROLLERQUIRKS_X_MKV = 0x01 } |
Functions | |
EClientQuirks | GetClientQuirks (const PLT_HttpRequestContext *context) |
EMediaControllerQuirks | GetMediaControllerQuirks (const PLT_DeviceData *device) |
NPT_String | GetMimeType (const char *filename, const PLT_HttpRequestContext *context) |
NPT_String | GetMimeType (const CFileItem &item, const PLT_HttpRequestContext *context) |
const NPT_String | GetProtocolInfo (const CFileItem &item, const char *protocol, const PLT_HttpRequestContext *context) |
NPT_Result | PopulateObjectFromTag (CMusicInfoTag &tag, PLT_MediaObject &object, NPT_String *file_path, PLT_MediaItemResource *resource, EClientQuirks quirks, UPnPService service) |
NPT_Result | PopulateObjectFromTag (CVideoInfoTag &tag, PLT_MediaObject &object, NPT_String *file_path, PLT_MediaItemResource *resource, EClientQuirks quirks, UPnPService service) |
PLT_MediaObject * | BuildObject (CFileItem &item, NPT_String &file_path, bool with_count, NPT_Reference< CThumbLoader > &thumb_loader, const PLT_HttpRequestContext *context, CUPnPServer *upnp_server, UPnPService upnp_service) |
const std::string & | CorrectAllItemsSortHack (const std::string &item) |
int | PopulateTagFromObject (CMusicInfoTag &tag, PLT_MediaObject &object, PLT_MediaItemResource *resource, UPnPService service) |
int | PopulateTagFromObject (CVideoInfoTag &tag, PLT_MediaObject &object, PLT_MediaItemResource *resource, UPnPService service) |
std::shared_ptr< CFileItem > | BuildObject (PLT_MediaObject *entry, UPnPService upnp_service) |
bool | GetResource (const PLT_MediaObject *entry, CFileItem &item) |
std::shared_ptr< CFileItem > | GetFileItem (const NPT_String &uri, const NPT_String &meta) |
NPT_String | EncodeObjectId (const std::string &id) |
Provided a given object id, encode it into a safe format to provide to UPnP clients @Note base64 is currently used as the safe format. | |
NPT_String | DecodeObjectId (const std::string &id) |
Provided a given encoded object id, decode it into a format known by the application @Note base64 is currently used as the expected input format. | |
const char * | GetMimeTypeFromExtension (const char *extension, const PLT_HttpRequestContext *context=NULL) |
NPT_Result | ObjectIDValidate (const NPT_String &id) |
Variables | |
constexpr std::array< std::string_view, 9 > | SupportedSubFormats |
constexpr NPT_HttpFileRequestHandler_DefaultFileTypeMapEntry | kodiPlatinumMimeTypeExtensions [] |
const char * | audio_containers [] |
const char * | video_containers [] |
enum UPNP::EClientQuirks |
enum UPNP::UPnPService |
PLT_MediaObject * UPNP::BuildObject | ( | CFileItem & | item, |
NPT_String & | file_path, | ||
bool | with_count, | ||
NPT_Reference< CThumbLoader > & | thumb_loader, | ||
const PLT_HttpRequestContext * | context, | ||
CUPnPServer * | upnp_server, | ||
UPnPService | upnp_service ) |
std::shared_ptr< CFileItem > UPNP::BuildObject | ( | PLT_MediaObject * | entry, |
UPnPService | upnp_service ) |
const std::string & UPNP::CorrectAllItemsSortHack | ( | const std::string & | item | ) |
NPT_String UPNP::DecodeObjectId | ( | const std::string & | id | ) |
Provided a given encoded object id, decode it into a format known by the application @Note base64 is currently used as the expected input format.
id | the object it to decode |
NPT_String UPNP::EncodeObjectId | ( | const std::string & | id | ) |
Provided a given object id, encode it into a safe format to provide to UPnP clients @Note base64 is currently used as the safe format.
id | the object it to encode |
EClientQuirks UPNP::GetClientQuirks | ( | const PLT_HttpRequestContext * | context | ) |
std::shared_ptr< CFileItem > UPNP::GetFileItem | ( | const NPT_String & | uri, |
const NPT_String & | meta ) |
EMediaControllerQuirks UPNP::GetMediaControllerQuirks | ( | const PLT_DeviceData * | device | ) |
NPT_String UPNP::GetMimeType | ( | const CFileItem & | item, |
const PLT_HttpRequestContext * | context ) |
NPT_String UPNP::GetMimeType | ( | const char * | filename, |
const PLT_HttpRequestContext * | context ) |
const char * UPNP::GetMimeTypeFromExtension | ( | const char * | extension, |
const PLT_HttpRequestContext * | context = NULL ) |
const NPT_String UPNP::GetProtocolInfo | ( | const CFileItem & | item, |
const char * | protocol, | ||
const PLT_HttpRequestContext * | context ) |
NPT_Result UPNP::ObjectIDValidate | ( | const NPT_String & | id | ) |
NPT_Result UPNP::PopulateObjectFromTag | ( | CMusicInfoTag & | tag, |
PLT_MediaObject & | object, | ||
NPT_String * | file_path, | ||
PLT_MediaItemResource * | resource, | ||
EClientQuirks | quirks, | ||
UPnPService | service ) |
NPT_Result UPNP::PopulateObjectFromTag | ( | CVideoInfoTag & | tag, |
PLT_MediaObject & | object, | ||
NPT_String * | file_path, | ||
PLT_MediaItemResource * | resource, | ||
EClientQuirks | quirks, | ||
UPnPService | service ) |
NPT_Result UPNP::PopulateTagFromObject | ( | CMusicInfoTag & | tag, |
PLT_MediaObject & | object, | ||
PLT_MediaItemResource * | resource, | ||
UPnPService | service ) |
NPT_Result UPNP::PopulateTagFromObject | ( | CVideoInfoTag & | tag, |
PLT_MediaObject & | object, | ||
PLT_MediaItemResource * | resource, | ||
UPnPService | service ) |
const char* UPNP::audio_containers[] |
|
constexpr |
|
constexpr |
const char* UPNP::video_containers[] |