MythTV
master
|
#include <mythbackend/upnpcdstv.h>
Public Member Functions | |
UPnpCDSTv () | |
~UPnpCDSTv () 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 | LoadRecordings (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, IDTokenMap tokens) |
bool | LoadTitles (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens) |
bool | LoadMovies (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, IDTokenMap tokens) |
Static Private Member Functions | |
static bool | LoadDates (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens) |
static bool | LoadGenres (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens) |
static bool | LoadChannels (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens) |
static bool | LoadRecGroups (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens) |
static void | PopulateArtworkURIS (CDSObject *pItem, const QString &sInetRef, int nSeason, const QUrl &URIBase) |
static QString | BuildWhereClause (QStringList clauses, IDTokenMap tokens) |
static void | BindValues (MSqlQuery &query, IDTokenMap tokens) |
Private Attributes | |
QUrl | m_uriBase |
QStringMap | m_mapBackendIp |
QMap< QString, int > | m_mapBackendPort |
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 20 of file upnpcdstv.h.
UPnpCDSTv::UPnpCDSTv | ( | ) |
Definition at line 135 of file upnpcdstv.cpp.
|
overridedefault |
|
overrideprotectedvirtual |
Reimplemented from UPnpCDSExtension.
Definition at line 415 of file upnpcdstv.cpp.
|
overrideprotectedvirtual |
Reimplemented from UPnpCDSExtension.
Definition at line 461 of file upnpcdstv.cpp.
|
overrideprotectedvirtual |
Reimplemented from UPnpCDSExtension.
Definition at line 149 of file upnpcdstv.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 281 of file upnpcdstv.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 355 of file upnpcdstv.cpp.
|
private |
Definition at line 931 of file upnpcdstv.cpp.
Referenced by CreateRoot(), LoadChildren(), LoadMetadata(), LoadMovies(), and LoadTitles().
|
private |
Definition at line 522 of file upnpcdstv.cpp.
Referenced by CreateRoot(), LoadChildren(), and LoadMetadata().
|
staticprivate |
Definition at line 609 of file upnpcdstv.cpp.
Referenced by CreateRoot(), LoadChildren(), and LoadMetadata().
|
staticprivate |
Definition at line 676 of file upnpcdstv.cpp.
Referenced by CreateRoot(), LoadChildren(), and LoadMetadata().
|
staticprivate |
Definition at line 819 of file upnpcdstv.cpp.
Referenced by CreateRoot(), LoadChildren(), and LoadMetadata().
|
staticprivate |
Definition at line 747 of file upnpcdstv.cpp.
Referenced by CreateRoot(), LoadChildren(), and LoadMetadata().
|
private |
Definition at line 894 of file upnpcdstv.cpp.
Referenced by CreateRoot(), LoadChildren(), and LoadMetadata().
|
staticprivate |
Definition at line 1323 of file upnpcdstv.cpp.
Referenced by LoadRecordings(), and LoadTitles().
|
staticprivate |
Definition at line 1441 of file upnpcdstv.cpp.
Referenced by LoadChannels(), LoadDates(), LoadGenres(), LoadRecGroups(), LoadRecordings(), and LoadTitles().
|
staticprivate |
Definition at line 1491 of file upnpcdstv.cpp.
Referenced by LoadChannels(), LoadDates(), LoadGenres(), LoadRecGroups(), LoadRecordings(), and LoadTitles().
|
private |
Definition at line 81 of file upnpcdstv.h.
Referenced by LoadTitles(), and UPnpCDSTv().
|
private |
Definition at line 83 of file upnpcdstv.h.
Referenced by LoadRecordings().
|
private |
Definition at line 84 of file upnpcdstv.h.
Referenced by LoadRecordings().