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

◆ DIDL_LITE_END

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

Definition at line 25 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",
"cn=\"Sony Corporation\"; mn=\"Blu-ray Disc Player\"" },
}

Definition at line 282 of file upnpcds.cpp.

Referenced by UPnpCDS::DetermineClient().

◆ clientExceptionCount

uint clientExceptionCount
static
Initial value:
= sizeof(clientExceptions) /
sizeof(clientExceptions[0])
static UPnpCDSClientException clientExceptions[]
Definition: upnpcds.cpp:282

Definition at line 304 of file upnpcds.cpp.

Referenced by UPnpCDS::DetermineClient().