mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
remove protobuf (part 2)
This commit is contained in:
41
libsrc/ssdp/SSDPDescription.h
Normal file
41
libsrc/ssdp/SSDPDescription.h
Normal file
@@ -0,0 +1,41 @@
|
||||
#pragma once
|
||||
|
||||
///
|
||||
/// The xml to fill with data
|
||||
/// %1 base url http://192.168.0.177:80/
|
||||
/// %2 friendly name Hyperion 2.0.0 (192.168.0.177)
|
||||
/// %3 modelNumber 2.0.0
|
||||
/// %4 serialNumber / UDN (H ID) Fjsa723dD0....
|
||||
///
|
||||
/// def URN urn:schemas-upnp-org:device:Basic:1
|
||||
|
||||
static const QString SSDP_DESCRIPTION = "<?xml version=\"1.0\"?>"
|
||||
"<root xmlns=\"urn:schemas-upnp-org:device-1-0\">"
|
||||
"<specVersion>"
|
||||
"<major>1</major>"
|
||||
"<minor>0</minor>"
|
||||
"</specVersion>"
|
||||
"<URLBase>%1</URLBase>"
|
||||
"<device>"
|
||||
"<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>"
|
||||
"<friendlyName>%2</friendlyName>"
|
||||
"<manufacturer>Hyperion Open Source Ambient Lighting</manufacturer>"
|
||||
"<manufacturerURL>https://www.hyperion-project.org</manufacturerURL>"
|
||||
"<modelDescription>Hyperion Open Source Ambient Light</modelDescription>"
|
||||
"<modelName>Hyperion</modelName>"
|
||||
"<modelNumber>%3</modelNumber>"
|
||||
"<modelURL>https://www.hyperion-project.org</modelURL>"
|
||||
"<serialNumber>%4</serialNumber>"
|
||||
"<UDN>uuid:%4</UDN>"
|
||||
"<presentationURL>index.html</presentationURL>"
|
||||
"<iconList>"
|
||||
"<icon>"
|
||||
"<mimetype>image/png</mimetype>"
|
||||
"<height>100</height>"
|
||||
"<width>100</width>"
|
||||
"<depth>32</depth>"
|
||||
"<url>img/hyperion/ssdp_icon.png</url>"
|
||||
"</icon>"
|
||||
"</iconList>"
|
||||
"</device>"
|
||||
"</root>";
|
Reference in New Issue
Block a user