|
a/src/httpfs.cxx |
|
b/src/httpfs.cxx |
|
... |
|
... |
75 |
" <serviceType>urn:av-openhome-org:service:Info:1</serviceType>"
|
75 |
" <serviceType>urn:av-openhome-org:service:Info:1</serviceType>"
|
76 |
" <serviceId>urn:av-openhome-org:serviceId:Info</serviceId>"
|
76 |
" <serviceId>urn:av-openhome-org:serviceId:Info</serviceId>"
|
77 |
" <SCPDURL>/upmpd/OHInfo.xml</SCPDURL>"
|
77 |
" <SCPDURL>/upmpd/OHInfo.xml</SCPDURL>"
|
78 |
" <controlURL>/ctl/OHInfo</controlURL>"
|
78 |
" <controlURL>/ctl/OHInfo</controlURL>"
|
79 |
" <eventSubURL>/evt/OHInfo</eventSubURL>"
|
79 |
" <eventSubURL>/evt/OHInfo</eventSubURL>"
|
|
|
80 |
"</service>"
|
|
|
81 |
"<service>"
|
|
|
82 |
" <serviceType>urn:av-openhome-org:service:Credentials:1</serviceType>"
|
|
|
83 |
" <serviceId>urn:av-openhome-org:serviceId:Credentials</serviceId>"
|
|
|
84 |
" <SCPDURL>/upmpd/OHCredentials.xml</SCPDURL>"
|
|
|
85 |
" <controlURL>/ctl/OHCredentials</controlURL>"
|
|
|
86 |
" <eventSubURL>/evt/OHCredentials</eventSubURL>"
|
80 |
"</service>"
|
87 |
"</service>"
|
81 |
"<service>"
|
88 |
"<service>"
|
82 |
" <serviceType>urn:av-openhome-org:service:Time:1</serviceType>"
|
89 |
" <serviceType>urn:av-openhome-org:service:Time:1</serviceType>"
|
83 |
" <serviceId>urn:av-openhome-org:serviceId:Time</serviceId>"
|
90 |
" <serviceId>urn:av-openhome-org:serviceId:Time</serviceId>"
|
84 |
" <SCPDURL>/upmpd/OHTime.xml</SCPDURL>"
|
91 |
" <SCPDURL>/upmpd/OHTime.xml</SCPDURL>"
|
|
... |
|
... |
198 |
|
205 |
|
199 |
// Optional OpenHome service description files
|
206 |
// Optional OpenHome service description files
|
200 |
static vector<const char *> ohxmlfilenames =
|
207 |
static vector<const char *> ohxmlfilenames =
|
201 |
{
|
208 |
{
|
202 |
"OHProduct.xml", "OHInfo.xml", "OHTime.xml", "OHVolume.xml",
|
209 |
"OHProduct.xml", "OHInfo.xml", "OHTime.xml", "OHVolume.xml",
|
203 |
"OHPlaylist.xml", "OHRadio.xml"
|
210 |
"OHPlaylist.xml", "OHRadio.xml", "OHCredentials.xml"
|
204 |
};
|
211 |
};
|
205 |
|
212 |
|
206 |
// Read and setup our (mostly XML) data to make it available from the
|
213 |
// Read and setup our (mostly XML) data to make it available from the
|
207 |
// virtual directory
|
214 |
// virtual directory
|
208 |
bool initHttpFs(unordered_map<string, VDirContent>& files,
|
215 |
bool initHttpFs(unordered_map<string, VDirContent>& files,
|