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

Go to the source code of this file.

Variables

static constexpr const char * DIDL_LITE_BEGIN { R"(<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/">)" }
 
static constexpr const char * DIDL_LITE_END { "</DIDL-Lite>" }
 
static const std::array< const UPnpCDSClientException, 5 > clientExceptions
 

Variable Documentation

◆ DIDL_LITE_BEGIN

constexpr const char* DIDL_LITE_BEGIN { R"(<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/">)" }
staticconstexpr

Definition at line 25 of file upnpcds.cpp.

Referenced by UPnpCDS::HandleBrowse(), and UPnpCDS::HandleSearch().

◆ DIDL_LITE_END

constexpr const char* DIDL_LITE_END { "</DIDL-Lite>" }
staticconstexpr

Definition at line 26 of file upnpcds.cpp.

Referenced by UPnpCDS::HandleBrowse(), and UPnpCDS::HandleSearch().

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

Referenced by UPnpCDS::DetermineClient().

CDS_ClientWMP
@ CDS_ClientWMP
Definition: upnpcds.h:56
CDS_ClientXBMC
@ CDS_ClientXBMC
Definition: upnpcds.h:57
CDS_ClientXBox
@ CDS_ClientXBox
Definition: upnpcds.h:59
CDS_ClientSonyDB
@ CDS_ClientSonyDB
Definition: upnpcds.h:60