|
a/src/ohinfo.cxx |
|
b/src/ohinfo.cxx |
|
... |
|
... |
99 |
st["Uri"] = uri;
|
99 |
st["Uri"] = uri;
|
100 |
st["Metadata"] = metadata;
|
100 |
st["Metadata"] = metadata;
|
101 |
makedetails(st["Duration"], st["BitRate"], st["BitDepth"],st["SampleRate"]);
|
101 |
makedetails(st["Duration"], st["BitRate"], st["BitDepth"],st["SampleRate"]);
|
102 |
st["Lossless"] = "0";
|
102 |
st["Lossless"] = "0";
|
103 |
st["CodecName"] = "";
|
103 |
st["CodecName"] = "";
|
104 |
st["Metatext"] = "";
|
104 |
st["Metatext"] = m_metatext;
|
105 |
return true;
|
105 |
return true;
|
106 |
}
|
106 |
}
|
107 |
|
107 |
|
108 |
bool OHInfo::getEventData(bool all, std::vector<std::string>& names,
|
108 |
bool OHInfo::getEventData(bool all, std::vector<std::string>& names,
|
109 |
std::vector<std::string>& values)
|
109 |
std::vector<std::string>& values)
|
|
... |
|
... |
166 |
}
|
166 |
}
|
167 |
|
167 |
|
168 |
int OHInfo::metatext(const SoapIncoming& sc, SoapOutgoing& data)
|
168 |
int OHInfo::metatext(const SoapIncoming& sc, SoapOutgoing& data)
|
169 |
{
|
169 |
{
|
170 |
LOGDEB("OHInfo::metatext" << endl);
|
170 |
LOGDEB("OHInfo::metatext" << endl);
|
171 |
data.addarg("Value", "");
|
171 |
data.addarg("Value", m_state["Metatext"]);
|
172 |
return UPNP_E_SUCCESS;
|
172 |
return UPNP_E_SUCCESS;
|
173 |
}
|
173 |
}
|
|
|
174 |
|
|
|
175 |
void OHInfo::setMetatext(const string& metatext)
|
|
|
176 |
{
|
|
|
177 |
LOGDEB("OHInfo::setMetatext: " << metatext << endl);
|
|
|
178 |
m_metatext = metatext;
|
|
|
179 |
}
|