|
a/src/upmpd.cxx |
|
b/src/upmpd.cxx |
|
... |
|
... |
61 |
const unordered_map<string, VDirContent>& files,
|
61 |
const unordered_map<string, VDirContent>& files,
|
62 |
MPDCli *mpdcli, Options opts)
|
62 |
MPDCli *mpdcli, Options opts)
|
63 |
: UpnpDevice(deviceid, files), m_mpdcli(mpdcli), m_mpds(0),
|
63 |
: UpnpDevice(deviceid, files), m_mpdcli(mpdcli), m_mpds(0),
|
64 |
m_options(opts.options),
|
64 |
m_options(opts.options),
|
65 |
m_mcachefn(opts.cachefn),
|
65 |
m_mcachefn(opts.cachefn),
|
66 |
m_rdctl(0), m_avt(0), m_ohpr(0), m_ohpl(0), m_ohrcv(0)
|
66 |
m_rdctl(0), m_avt(0), m_ohpr(0), m_ohpl(0), m_ohrcv(0),
|
|
|
67 |
m_friendlyname(friendlyname)
|
67 |
{
|
68 |
{
|
68 |
bool avtnoev = (m_options & upmpdNoAV) != 0;
|
69 |
bool avtnoev = (m_options & upmpdNoAV) != 0;
|
69 |
// Note: the order is significant here as it will be used when
|
70 |
// Note: the order is significant here as it will be used when
|
70 |
// calling the getStatus() methods, and we want AVTransport to
|
71 |
// calling the getStatus() methods, and we want AVTransport to
|
71 |
// update the mpd status for OHInfo
|
72 |
// update the mpd status for OHInfo
|