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 UPnpCDSClientException clientExceptions []
 
static uint clientExceptionCount
 

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 25 of file upnpcds.cpp.

◆ DIDL_LITE_END

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

Definition at line 26 of file upnpcds.cpp.

Variable Documentation

◆ clientExceptions

UPnpCDSClientException 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 280 of file upnpcds.cpp.

Referenced by UPnpCDS::DetermineClient().

◆ clientExceptionCount

uint clientExceptionCount
static
Initial value:
= sizeof(clientExceptions) /
sizeof(clientExceptions[0])

Definition at line 302 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
clientExceptions
static UPnpCDSClientException clientExceptions[]
Definition: upnpcds.cpp:280
CDS_ClientSonyDB
@ CDS_ClientSonyDB
Definition: upnpcds.h:59