MythTV
master
|
#include <mythbackend/upnpcdsvideo.h>
Public Member Functions | |
UPnpCDSVideo () | |
~UPnpCDSVideo () override=default | |
Public Member Functions inherited from UPnpCDSExtension | |
UPnpCDSExtension (QString sName, QString sExtensionId, QString sClass) | |
virtual CDSObject * | GetRoot () |
virtual | ~UPnpCDSExtension () |
virtual UPnpCDSExtensionResults * | Browse (UPnpCDSRequest *pRequest) |
virtual UPnpCDSExtensionResults * | Search (UPnpCDSRequest *pRequest) |
virtual QString | GetSearchCapabilities () |
virtual QString | GetSortCapabilities () |
virtual CDSShortCutList | GetShortCuts () |
Protected Member Functions | |
bool | IsBrowseRequestForUs (UPnpCDSRequest *pRequest) override |
bool | IsSearchRequestForUs (UPnpCDSRequest *pRequest) override |
void | CreateRoot () override |
bool | LoadMetadata (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens, const QString ¤tToken) override |
Fetch just the metadata for the item identified in the request. More... | |
bool | LoadChildren (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens, const QString ¤tToken) override |
Fetch the children of the container identified in the request. More... | |
Protected Member Functions inherited from UPnpCDSExtension | |
virtual int | GetRootCount () |
virtual int | GetRootContainerCount () |
Private Member Functions | |
bool | LoadSeries (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens) |
bool | LoadSeasons (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens) |
bool | LoadMovies (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, IDTokenMap tokens) |
bool | LoadVideos (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens) |
Static Private Member Functions | |
static bool | LoadGenres (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens) |
static void | PopulateArtworkURIS (CDSObject *pItem, int nVidID, const QUrl &URIBase) |
static QString | BuildWhereClause (QStringList clauses, IDTokenMap tokens) |
static void | BindValues (MSqlQuery &query, IDTokenMap tokens) |
Private Attributes | |
QStringMap | m_mapBackendIp |
QMap< QString, int > | m_mapBackendPort |
QUrl | m_uriBase |
Additional Inherited Members | |
Public Attributes inherited from UPnpCDSExtension | |
QString | m_sExtensionId |
QString | m_sName |
QString | m_sClass |
CDSShortCutList | m_shortcuts |
Static Protected Member Functions inherited from UPnpCDSExtension | |
static QString | RemoveToken (const QString &sToken, const QString &sStr, int num) |
static IDTokenMap | TokenizeIDString (const QString &Id) |
Split the 'Id' String up into tokens for handling by each extension. More... | |
static IDToken | GetCurrentToken (const QString &Id) |
Split the 'Id' String up into tokens and return the last (current) token. More... | |
static QString | CreateIDString (const QString &RequestId, const QString &Name, int Value) |
static QString | CreateIDString (const QString &RequestId, const QString &Name, const QString &Value) |
Protected Attributes inherited from UPnpCDSExtension | |
CDSObject * | m_pRoot {nullptr} |
Definition at line 23 of file upnpcdsvideo.h.
UPnpCDSVideo::UPnpCDSVideo | ( | ) |
Definition at line 29 of file upnpcdsvideo.cpp.
|
overridedefault |
|
overrideprotectedvirtual |
Reimplemented from UPnpCDSExtension.
Definition at line 149 of file upnpcdsvideo.cpp.
|
overrideprotectedvirtual |
Reimplemented from UPnpCDSExtension.
Definition at line 204 of file upnpcdsvideo.cpp.
|
overrideprotectedvirtual |
Reimplemented from UPnpCDSExtension.
Definition at line 45 of file upnpcdsvideo.cpp.
|
overrideprotectedvirtual |
Fetch just the metadata for the item identified in the request.
This is the 'BrowseMetadata' request type.
The ID may refer to a container or an object.
Reimplemented from UPnpCDSExtension.
Definition at line 258 of file upnpcdsvideo.cpp.
|
overrideprotectedvirtual |
Fetch the children of the container identified in the request.
This is the 'BrowseDirectChildren' request type.
The ID may only refer to a container.
Reimplemented from UPnpCDSExtension.
Definition at line 324 of file upnpcdsvideo.cpp.
|
private |
Definition at line 372 of file upnpcdsvideo.cpp.
Referenced by CreateRoot(), LoadChildren(), and LoadMetadata().
|
private |
Definition at line 448 of file upnpcdsvideo.cpp.
Referenced by LoadChildren(), and LoadMetadata().
|
private |
Definition at line 525 of file upnpcdsvideo.cpp.
Referenced by CreateRoot(), LoadChildren(), and LoadMetadata().
|
staticprivate |
Definition at line 538 of file upnpcdsvideo.cpp.
Referenced by CreateRoot(), LoadChildren(), and LoadMetadata().
|
private |
Definition at line 610 of file upnpcdsvideo.cpp.
Referenced by CreateRoot(), LoadChildren(), LoadMetadata(), and LoadMovies().
|
staticprivate |
Definition at line 856 of file upnpcdsvideo.cpp.
Referenced by LoadSeasons(), LoadSeries(), and LoadVideos().
|
staticprivate |
Definition at line 972 of file upnpcdsvideo.cpp.
Referenced by LoadGenres(), LoadSeasons(), LoadSeries(), and LoadVideos().
|
staticprivate |
Definition at line 995 of file upnpcdsvideo.cpp.
Referenced by LoadGenres(), LoadSeasons(), LoadSeries(), and LoadVideos().
|
private |
Definition at line 76 of file upnpcdsvideo.h.
Referenced by LoadVideos().
|
private |
Definition at line 77 of file upnpcdsvideo.h.
Referenced by LoadVideos().
|
private |
Definition at line 79 of file upnpcdsvideo.h.
Referenced by LoadSeasons(), LoadSeries(), and UPnpCDSVideo().