Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
UPnPInternal.h File Reference
#include <Neptune/Source/Core/NptTypes.h>
#include <Neptune/Source/Core/NptReferences.h>
#include <Neptune/Source/Core/NptStrings.h>
#include "FileItem.h"
#include <string>

Classes

class  UPNP::CResourceFinder
 

Namespaces

namespace  MUSIC_INFO
 
namespace  UPNP
 

Enumerations

enum  UPNP::UPnPService {
  UPNP::UPnPServiceNone = 0 , UPNP::UPnPClient , UPNP::UPnPContentDirectory , UPNP::UPnPPlayer ,
  UPNP::UPnPRenderer
}
 
enum  UPNP::EClientQuirks { UPNP::ECLIENTQUIRKS_NONE = 0x0 , UPNP::ECLIENTQUIRKS_ONLYSTORAGEFOLDER = 0x01 , UPNP::ECLIENTQUIRKS_BASICVIDEOCLASS = 0x02 , UPNP::ECLIENTQUIRKS_UNKNOWNSERIES = 0x04 }
 
enum  UPNP::EMediaControllerQuirks { UPNP::EMEDIACONTROLLERQUIRKS_NONE = 0x00 , UPNP::EMEDIACONTROLLERQUIRKS_X_MKV = 0x01 }
 

Functions

EClientQuirks UPNP::GetClientQuirks (const PLT_HttpRequestContext *context)
 
EMediaControllerQuirks UPNP::GetMediaControllerQuirks (const PLT_DeviceData *device)
 
const char * UPNP::GetMimeTypeFromExtension (const char *extension, const PLT_HttpRequestContext *context=NULL)
 
NPT_String UPNP::GetMimeType (const CFileItem &item, const PLT_HttpRequestContext *context)
 
NPT_String UPNP::GetMimeType (const char *filename, const PLT_HttpRequestContext *context)
 
const NPT_String UPNP::GetProtocolInfo (const CFileItem &item, const char *protocol, const PLT_HttpRequestContext *context)
 
const std::string & UPNP::CorrectAllItemsSortHack (const std::string &item)
 
int UPNP::PopulateTagFromObject (CMusicInfoTag &tag, PLT_MediaObject &object, PLT_MediaItemResource *resource, UPnPService service)
 
int UPNP::PopulateTagFromObject (CVideoInfoTag &tag, PLT_MediaObject &object, PLT_MediaItemResource *resource, UPnPService service)
 
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)
 
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)
 
CFileItemPtr UPNP::BuildObject (PLT_MediaObject *entry, UPnPService upnp_service)
 
bool UPNP::GetResource (const PLT_MediaObject *entry, CFileItem &item)
 
CFileItemPtr UPNP::GetFileItem (const NPT_String &uri, const NPT_String &meta)