|
a/src/upmpd.cxx |
|
b/src/upmpd.cxx |
|
... |
|
... |
92 |
m_services.push_back(m_ohif);
|
92 |
m_services.push_back(m_ohif);
|
93 |
m_services.push_back(new OHTime(this));
|
93 |
m_services.push_back(new OHTime(this));
|
94 |
m_services.push_back(new OHVolume(this));
|
94 |
m_services.push_back(new OHVolume(this));
|
95 |
m_ohpl = new OHPlaylist(this, opts.ohmetasleep);
|
95 |
m_ohpl = new OHPlaylist(this, opts.ohmetasleep);
|
96 |
m_services.push_back(m_ohpl);
|
96 |
m_services.push_back(m_ohpl);
|
|
|
97 |
if (m_avt)
|
|
|
98 |
m_avt->setOHP(m_ohpl);
|
|
|
99 |
if (m_ohif)
|
|
|
100 |
m_ohif->setOHPL(m_ohpl);
|
97 |
m_ohrd = new OHRadio(this);
|
101 |
m_ohrd = new OHRadio(this);
|
98 |
if (m_ohrd && !m_ohrd->ok()) {
|
102 |
if (m_ohrd && !m_ohrd->ok()) {
|
99 |
delete m_ohrd;
|
103 |
delete m_ohrd;
|
100 |
m_ohrd = 0;
|
104 |
m_ohrd = 0;
|
101 |
}
|
105 |
}
|