|
a/src/upmpdutils.cxx |
|
b/src/upmpdutils.cxx |
|
... |
|
... |
146 |
ss << "<" << typetag;
|
146 |
ss << "<" << typetag;
|
147 |
if (!id.empty()) {
|
147 |
if (!id.empty()) {
|
148 |
ss << " id=\"" << id;
|
148 |
ss << " id=\"" << id;
|
149 |
}
|
149 |
}
|
150 |
if (!parentid.empty()) {
|
150 |
if (!parentid.empty()) {
|
151 |
ss << "\" parentID=\"" << parentid;
|
151 |
ss << "\" parentID=\"" << parentid << "\"";
|
152 |
}
|
152 |
}
|
153 |
ss << "\" restricted=\"1\" searchable=\"" <<
|
153 |
ss << " restricted=\"1\" searchable=\"" <<
|
154 |
(searchable ? string("1") : string("0")) << "\">" <<
|
154 |
(searchable ? string("1") : string("0")) << "\">" <<
|
155 |
"<dc:title>" << SoapHelp::xmlQuote(title) << "</dc:title>";
|
155 |
"<dc:title>" << SoapHelp::xmlQuote(title) << "</dc:title>";
|
156 |
|
156 |
|
157 |
if (id.empty()) {
|
157 |
if (id.empty()) {
|
158 |
ss << "<orig>mpd</orig>";
|
158 |
ss << "<orig>mpd</orig>";
|