|
a/src/upmpd.hxx |
|
b/src/upmpd.hxx |
|
... |
|
... |
34 |
public:
|
34 |
public:
|
35 |
friend class UpMpdRenderCtl;
|
35 |
friend class UpMpdRenderCtl;
|
36 |
friend class UpMpdAVTransport;
|
36 |
friend class UpMpdAVTransport;
|
37 |
friend class OHInfo;
|
37 |
friend class OHInfo;
|
38 |
friend class OHPlaylist;
|
38 |
friend class OHPlaylist;
|
|
|
39 |
friend class OHReceiver;
|
39 |
|
40 |
|
40 |
enum Options {
|
41 |
enum Options {
|
41 |
upmpdNone,
|
42 |
upmpdNone,
|
42 |
// If set, the MPD queue belongs to us, we shall clear
|
43 |
// If set, the MPD queue belongs to us, we shall clear
|
43 |
// it as we like.
|
44 |
// it as we like.
|
|
... |
|
... |
48 |
// (mpd does it)
|
49 |
// (mpd does it)
|
49 |
upmpdOhMetaPersist = 4
|
50 |
upmpdOhMetaPersist = 4
|
50 |
};
|
51 |
};
|
51 |
UpMpd(const std::string& deviceid, const std::string& friendlyname,
|
52 |
UpMpd(const std::string& deviceid, const std::string& friendlyname,
|
52 |
const std::unordered_map<std::string, VDirContent>& files,
|
53 |
const std::unordered_map<std::string, VDirContent>& files,
|
53 |
MPDCli *mpdcli, unsigned int opts, const std::string& cachefn);
|
54 |
MPDCli *mpdcli, unsigned int opts, const std::string& cachefn,
|
|
|
55 |
int schttpport);
|
54 |
~UpMpd();
|
56 |
~UpMpd();
|
55 |
|
57 |
|
56 |
const MpdStatus &getMpdStatus();
|
58 |
const MpdStatus &getMpdStatus();
|
57 |
const MpdStatus &getMpdStatusNoUpdate()
|
59 |
const MpdStatus &getMpdStatusNoUpdate()
|
58 |
{
|
60 |
{
|