|
a/src/ohplaylist.cxx |
|
b/src/ohplaylist.cxx |
|
... |
|
... |
239 |
st["TransportState"] = mpdstatusToTransportState(mpds.state);
|
239 |
st["TransportState"] = mpdstatusToTransportState(mpds.state);
|
240 |
st["Repeat"] = SoapHelp::i2s(mpds.rept);
|
240 |
st["Repeat"] = SoapHelp::i2s(mpds.rept);
|
241 |
st["Shuffle"] = SoapHelp::i2s(mpds.random);
|
241 |
st["Shuffle"] = SoapHelp::i2s(mpds.random);
|
242 |
st["Id"] = mpds.songid == -1 ? "0" : SoapHelp::i2s(mpds.songid);
|
242 |
st["Id"] = mpds.songid == -1 ? "0" : SoapHelp::i2s(mpds.songid);
|
243 |
st["TracksMax"] = SoapHelp::i2s(tracksmax);
|
243 |
st["TracksMax"] = SoapHelp::i2s(tracksmax);
|
244 |
st["ProtocolInfo"] = upmpdProtocolInfo;
|
244 |
st["ProtocolInfo"] = g_protocolInfo;
|
245 |
makeIdArray(st["IdArray"]);
|
245 |
makeIdArray(st["IdArray"]);
|
246 |
|
246 |
|
247 |
return true;
|
247 |
return true;
|
248 |
}
|
248 |
}
|
249 |
|
249 |
|
|
... |
|
... |
711 |
}
|
711 |
}
|
712 |
|
712 |
|
713 |
int OHPlaylist::protocolInfo(const SoapIncoming& sc, SoapOutgoing& data)
|
713 |
int OHPlaylist::protocolInfo(const SoapIncoming& sc, SoapOutgoing& data)
|
714 |
{
|
714 |
{
|
715 |
LOGDEB("OHPlaylist::protocolInfo" << endl);
|
715 |
LOGDEB("OHPlaylist::protocolInfo" << endl);
|
716 |
data.addarg("Value", upmpdProtocolInfo);
|
716 |
data.addarg("Value", g_protocolInfo);
|
717 |
return UPNP_E_SUCCESS;
|
717 |
return UPNP_E_SUCCESS;
|
718 |
}
|
718 |
}
|