|
a/src/upmpd.cxx |
|
b/src/upmpd.cxx |
|
... |
|
... |
69 |
m_friendlyname(friendlyname)
|
69 |
m_friendlyname(friendlyname)
|
70 |
{
|
70 |
{
|
71 |
bool avtnoev = (m_options & upmpdNoAV) != 0;
|
71 |
bool avtnoev = (m_options & upmpdNoAV) != 0;
|
72 |
// Note: the order is significant here as it will be used when
|
72 |
// Note: the order is significant here as it will be used when
|
73 |
// calling the getStatus() methods, and we want AVTransport to
|
73 |
// calling the getStatus() methods, and we want AVTransport to
|
74 |
// update the mpd status for OHInfo
|
74 |
// update the mpd status for everybody
|
|
|
75 |
m_avt = new UpMpdAVTransport(this, avtnoev);
|
|
|
76 |
m_services.push_back(m_avt);
|
75 |
m_rdctl = new UpMpdRenderCtl(this, avtnoev);
|
77 |
m_rdctl = new UpMpdRenderCtl(this, avtnoev);
|
76 |
m_services.push_back(m_rdctl);
|
78 |
m_services.push_back(m_rdctl);
|
77 |
m_avt = new UpMpdAVTransport(this, avtnoev);
|
|
|
78 |
m_services.push_back(m_avt);
|
|
|
79 |
m_services.push_back(new UpMpdConMan(this));
|
79 |
m_services.push_back(new UpMpdConMan(this));
|
80 |
|
80 |
|
81 |
if (m_options & upmpdDoOH) {
|
81 |
if (m_options & upmpdDoOH) {
|
82 |
m_ohif = new OHInfo(this);
|
82 |
m_ohif = new OHInfo(this);
|
83 |
m_services.push_back(m_ohif);
|
83 |
m_services.push_back(m_ohif);
|