|
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 bool | IsBrowseRequestForUs (UPnpCDSRequest *pRequest) |
| virtual bool | IsSearchRequestForUs (UPnpCDSRequest *pRequest) |
| virtual int | GetRootCount () |
| virtual int | GetRootContainerCount () |
| virtual void | CreateRoot () |
| virtual bool | LoadMetadata (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens, const QString ¤tToken) |
| Fetch just the metadata for the item identified in the request. More... | |
| virtual bool | LoadChildren (const UPnpCDSRequest *pRequest, UPnpCDSExtensionResults *pResults, const IDTokenMap &tokens, const QString ¤tToken) |
| Fetch the children of the container identified in the request. More... | |
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 30 of file upnpcdsvideo.cpp.
|
overridedefault |
|
staticprivate |
Definition at line 996 of file upnpcdsvideo.cpp.
Referenced by LoadGenres(), LoadSeasons(), LoadSeries(), and LoadVideos().
|
staticprivate |
Definition at line 973 of file upnpcdsvideo.cpp.
Referenced by LoadGenres(), LoadSeasons(), LoadSeries(), and LoadVideos().
|
overrideprotectedvirtual |
Reimplemented from UPnpCDSExtension.
Definition at line 46 of file upnpcdsvideo.cpp.
|
overrideprotectedvirtual |
Reimplemented from UPnpCDSExtension.
Definition at line 150 of file upnpcdsvideo.cpp.
|
overrideprotectedvirtual |
Reimplemented from UPnpCDSExtension.
Definition at line 205 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 325 of file upnpcdsvideo.cpp.
|
staticprivate |
Definition at line 539 of file upnpcdsvideo.cpp.
Referenced by CreateRoot(), LoadChildren(), and LoadMetadata().
|
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 259 of file upnpcdsvideo.cpp.
|
private |
Definition at line 526 of file upnpcdsvideo.cpp.
Referenced by CreateRoot(), LoadChildren(), and LoadMetadata().
|
private |
Definition at line 449 of file upnpcdsvideo.cpp.
Referenced by LoadChildren(), and LoadMetadata().
|
private |
Definition at line 373 of file upnpcdsvideo.cpp.
Referenced by CreateRoot(), LoadChildren(), and LoadMetadata().
|
private |
Definition at line 611 of file upnpcdsvideo.cpp.
Referenced by CreateRoot(), LoadChildren(), LoadMetadata(), and LoadMovies().
|
staticprivate |
Definition at line 857 of file upnpcdsvideo.cpp.
Referenced by 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().