|
a/src/upmpd.hxx |
|
b/src/upmpd.hxx |
|
... |
|
... |
54 |
upmpdOhMetaPersist = 4,
|
54 |
upmpdOhMetaPersist = 4,
|
55 |
// sc2mpd was found: advertise songcast receiver
|
55 |
// sc2mpd was found: advertise songcast receiver
|
56 |
upmpdOhReceiver = 8
|
56 |
upmpdOhReceiver = 8
|
57 |
};
|
57 |
};
|
58 |
struct Options {
|
58 |
struct Options {
|
59 |
Options() : options(upmpdNone), ohmetasleep(0), schttpport(8768) {}
|
59 |
Options() : options(upmpdNone), ohmetasleep(0), schttpport(0) {}
|
60 |
unsigned int options;
|
60 |
unsigned int options;
|
61 |
std::string cachefn;
|
61 |
std::string cachefn;
|
62 |
unsigned int ohmetasleep;
|
62 |
unsigned int ohmetasleep;
|
63 |
int schttpport;
|
63 |
int schttpport;
|
|
|
64 |
std::string scplaymethod;
|
64 |
};
|
65 |
};
|
65 |
UpMpd(const std::string& deviceid, const std::string& friendlyname,
|
66 |
UpMpd(const std::string& deviceid, const std::string& friendlyname,
|
66 |
const std::unordered_map<std::string, VDirContent>& files,
|
67 |
const std::unordered_map<std::string, VDirContent>& files,
|
67 |
MPDCli *mpdcli, Options opts);
|
68 |
MPDCli *mpdcli, Options opts);
|
68 |
~UpMpd();
|
69 |
~UpMpd();
|