kodi
Public Member Functions | List of all members
PLT_FileMediaConnectDelegate Class Reference
Inheritance diagram for PLT_FileMediaConnectDelegate:
Inheritance graph
[legend]
Collaboration diagram for PLT_FileMediaConnectDelegate:
Collaboration graph
[legend]

Public Member Functions

 PLT_FileMediaConnectDelegate (const char *url_root, const char *file_root)
 
NPT_Result GetFilePath (const char *object_id, NPT_String &filepath) override
 
NPT_Result OnSearchContainer (PLT_ActionReference &action, const char *object_id, const char *search_criteria, const char *filter, NPT_UInt32 starting_index, NPT_UInt32 requested_count, const char *sort_criteria, const PLT_HttpRequestContext &context) override
 
- Public Member Functions inherited from PLT_FileMediaServerDelegate
 PLT_FileMediaServerDelegate (const char *url_root, const char *file_root, bool use_cache=false)
 
- Public Member Functions inherited from PLT_MediaServerDelegate
virtual NPT_Result OnUpdateObject (PLT_ActionReference &, const char *, NPT_Map< NPT_String, NPT_String > &, NPT_Map< NPT_String, NPT_String > &, const PLT_HttpRequestContext &)=0
 

Additional Inherited Members

- Static Public Member Functions inherited from PLT_FileMediaServerDelegate
static NPT_String BuildSafeResourceUri (const NPT_HttpUrl &base_uri, const char *host, const char *file_path)
 
- Protected Member Functions inherited from PLT_FileMediaServerDelegate
NPT_Result OnBrowseMetadata (PLT_ActionReference &action, const char *object_id, const char *filter, NPT_UInt32 starting_index, NPT_UInt32 requested_count, const char *sort_criteria, const PLT_HttpRequestContext &context) override
 
NPT_Result OnBrowseDirectChildren (PLT_ActionReference &action, const char *object_id, const char *filter, NPT_UInt32 starting_index, NPT_UInt32 requested_count, const char *sort_criteria, const PLT_HttpRequestContext &context) override
 
NPT_Result OnSearchContainer (PLT_ActionReference &action, const char *object_id, const char *search_criteria, const char *filter, NPT_UInt32 starting_index, NPT_UInt32 requested_count, const char *sort_criteria, const PLT_HttpRequestContext &context) override
 
NPT_Result ProcessFileRequest (NPT_HttpRequest &request, const NPT_HttpRequestContext &context, NPT_HttpResponse &response) override
 
virtual NPT_Result ExtractResourcePath (const NPT_HttpUrl &url, NPT_String &file_path)
 
virtual NPT_String BuildResourceUri (const NPT_HttpUrl &base_uri, const char *host, const char *file_path)
 
virtual NPT_Result ServeFile (const NPT_HttpRequest &request, const NPT_HttpRequestContext &context, NPT_HttpResponse &response, const NPT_String &file_path)
 
virtual bool ProcessFile (const NPT_String &, const char *filter=NULL)
 
virtual PLT_MediaObjectBuildFromFilePath (const NPT_String &filepath, const PLT_HttpRequestContext &context, bool with_count=true, bool keep_extension_in_title=false, bool allip=false)
 
- Protected Attributes inherited from PLT_FileMediaServerDelegate
NPT_String m_UrlRoot
 
NPT_String m_FileRoot
 
bool m_FilterUnknownOut
 
bool m_UseCache
 
PLT_MediaCache< NPT_Reference< NPT_List< NPT_String > >, NPT_TimeStampm_DirCache
 

The documentation for this class was generated from the following files: