|
a/src/ohtime.cxx |
|
b/src/ohtime.cxx |
|
... |
|
... |
25 |
#include <unordered_map> // for unordered_map, etc
|
25 |
#include <unordered_map> // for unordered_map, etc
|
26 |
#include <utility> // for pair
|
26 |
#include <utility> // for pair
|
27 |
#include <vector> // for vector
|
27 |
#include <vector> // for vector
|
28 |
|
28 |
|
29 |
#include "libupnpp/log.hxx" // for LOGDEB
|
29 |
#include "libupnpp/log.hxx" // for LOGDEB
|
30 |
#include "libupnpp/soaphelp.hxx" // for i2s, SoapData, SoapArgs
|
30 |
#include "libupnpp/soaphelp.hxx" // for i2s, SoapOutgoing, SoapIncoming
|
31 |
|
31 |
|
32 |
#include "mpdcli.hxx" // for MpdStatus, etc
|
32 |
#include "mpdcli.hxx" // for MpdStatus, etc
|
33 |
#include "upmpd.hxx" // for UpMpd
|
33 |
#include "upmpd.hxx" // for UpMpd
|
34 |
#include "upmpdutils.hxx" // for diffmaps
|
34 |
#include "upmpdutils.hxx" // for diffmaps
|
35 |
|
35 |
|
|
... |
|
... |
93 |
}
|
93 |
}
|
94 |
|
94 |
|
95 |
return true;
|
95 |
return true;
|
96 |
}
|
96 |
}
|
97 |
|
97 |
|
98 |
int OHTime::ohtime(const SoapArgs& sc, SoapData& data)
|
98 |
int OHTime::ohtime(const SoapIncoming& sc, SoapOutgoing& data)
|
99 |
{
|
99 |
{
|
100 |
LOGDEB("OHTime::ohtime" << endl);
|
100 |
LOGDEB("OHTime::ohtime" << endl);
|
101 |
string trackcount, duration, seconds;
|
101 |
string trackcount, duration, seconds;
|
102 |
getdata(trackcount, duration, seconds);
|
102 |
getdata(trackcount, duration, seconds);
|
103 |
data.addarg("TrackCount", trackcount);
|
103 |
data.addarg("TrackCount", trackcount);
|