|
a/upmpd/upmpdutils.cxx |
|
b/upmpd/upmpdutils.cxx |
|
... |
|
... |
323 |
// Bogus didl fragment maker. We probably don't need a full-blown XML
|
323 |
// Bogus didl fragment maker. We probably don't need a full-blown XML
|
324 |
// helper here
|
324 |
// helper here
|
325 |
string didlmake(const UpSong& song)
|
325 |
string didlmake(const UpSong& song)
|
326 |
{
|
326 |
{
|
327 |
ostringstream ss;
|
327 |
ostringstream ss;
|
|
|
328 |
ss << "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
|
328 |
ss << "<DIDL-Lite xmlns:dc=\"http://purl.org/dc/elements/1.1/\" "
|
329 |
"<DIDL-Lite xmlns:dc=\"http://purl.org/dc/elements/1.1/\" "
|
329 |
"xmlns:upnp=\"urn:schemas-upnp-org:metadata-1-0/upnp/\" "
|
330 |
"xmlns:upnp=\"urn:schemas-upnp-org:metadata-1-0/upnp/\" "
|
330 |
"xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\" "
|
331 |
"xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\" "
|
331 |
"xmlns:dlna=\"urn:schemas-dlna-org:metadata-1-0/\">"
|
332 |
"xmlns:dlna=\"urn:schemas-dlna-org:metadata-1-0/\">"
|
332 |
<< "<item restricted=\"1\">";
|
333 |
<< "<item restricted=\"1\">";
|
333 |
|
334 |
|