|
a/upmpd/ohplaylist.cxx |
|
b/upmpd/ohplaylist.cxx |
|
... |
|
... |
165 |
{
|
165 |
{
|
166 |
st.clear();
|
166 |
st.clear();
|
167 |
|
167 |
|
168 |
const MpdStatus &mpds = m_dev->getMpdStatus();
|
168 |
const MpdStatus &mpds = m_dev->getMpdStatus();
|
169 |
|
169 |
|
|
|
170 |
st["TransportState"] = mpdstatusToTransportState(mpds.state);
|
|
|
171 |
st["Repeat"] = makesint(mpds.rept);
|
|
|
172 |
st["Shuffle"] = makesint(mpds.random);
|
|
|
173 |
st["Id"] = makesint(mpds.songid);
|
170 |
st["TracksMax"] = makesint(tracksmax);
|
174 |
st["TracksMax"] = makesint(tracksmax);
|
171 |
st["ProtocolInfo"] = upmpdProtocolInfo;
|
175 |
st["ProtocolInfo"] = upmpdProtocolInfo;
|
172 |
|
|
|
173 |
st["Id"] = makesint(mpds.songid);
|
|
|
174 |
|
|
|
175 |
st["IdArray"] = makeIdArray();
|
176 |
st["IdArray"] = makeIdArray();
|
176 |
|
|
|
177 |
st["Repeat"] = makesint(mpds.rept);
|
|
|
178 |
st["Shuffle"] = makesint(mpds.random);
|
|
|
179 |
st["TransportState"] = mpdstatusToTransportState(mpds.state);
|
|
|
180 |
|
177 |
|
181 |
return true;
|
178 |
return true;
|
182 |
}
|
179 |
}
|
183 |
|
180 |
|
184 |
bool OHPlaylist::getEventData(bool all, std::vector<std::string>& names,
|
181 |
bool OHPlaylist::getEventData(bool all, std::vector<std::string>& names,
|