MythTV  master
Macros | Variables
upnpcds.cpp File Reference
#include <algorithm>
#include <cmath>
#include <cstdint>
#include "upnp.h"
#include "upnpcds.h"
#include "upnputil.h"
#include "mythlogging.h"
#include "mythversion.h"
Include dependency graph for upnpcds.cpp:

Go to the source code of this file.

Macros

#define DIDL_LITE_BEGIN   "<DIDL-Lite xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:upnp=\"urn:schemas-upnp-org:metadata-1-0/upnp/\" xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\">"
 
#define DIDL_LITE_END   "</DIDL-Lite>";
 

Variables

static const std::array< const UPnpCDSClientException, 5 > clientExceptions
 

Macro Definition Documentation

◆ DIDL_LITE_BEGIN

#define DIDL_LITE_BEGIN   "<DIDL-Lite xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:upnp=\"urn:schemas-upnp-org:metadata-1-0/upnp/\" xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\">"

Definition at line 23 of file upnpcds.cpp.

◆ DIDL_LITE_END

#define DIDL_LITE_END   "</DIDL-Lite>";

Definition at line 24 of file upnpcds.cpp.

Variable Documentation

◆ clientExceptions

const std::array<const UPnpCDSClientException,5> clientExceptions
static
Initial value:
{{
"User-Agent",
"Windows-Media-Player/" },
"User-Agent",
"Mozilla/4.0 (compatible; UPnP/1.0; Windows 9x" },
"User-Agent",
"Platinum/" },
"User-Agent",
"Xbox" },
"X-AV-Client-Info",
R"(cn="Sony Corporation"; mn="Blu-ray Disc Player")" },
}}

Definition at line 279 of file upnpcds.cpp.

Referenced by UPnpCDS::DetermineClient().

CDS_ClientWMP
@ CDS_ClientWMP
Definition: upnpcds.h:55
CDS_ClientXBMC
@ CDS_ClientXBMC
Definition: upnpcds.h:56
CDS_ClientXBox
@ CDS_ClientXBox
Definition: upnpcds.h:58
CDS_ClientSonyDB
@ CDS_ClientSonyDB
Definition: upnpcds.h:59