|
a/src/upmpd.cxx |
|
b/src/upmpd.cxx |
|
... |
|
... |
37 |
#include "upmpdutils.hxx"
|
37 |
#include "upmpdutils.hxx"
|
38 |
#include "execmd.h"
|
38 |
#include "execmd.h"
|
39 |
#include "httpfs.hxx"
|
39 |
#include "httpfs.hxx"
|
40 |
#include "ohsndrcv.hxx"
|
40 |
#include "ohsndrcv.hxx"
|
41 |
#include "protocolinfo.hxx"
|
41 |
#include "protocolinfo.hxx"
|
|
|
42 |
#include "ohcredentials.hxx"
|
42 |
|
43 |
|
43 |
using namespace std;
|
44 |
using namespace std;
|
44 |
using namespace std::placeholders;
|
45 |
using namespace std::placeholders;
|
45 |
using namespace UPnPP;
|
46 |
using namespace UPnPP;
|
46 |
|
47 |
|
|
... |
|
... |
69 |
if (m_options & upmpdDoOH) {
|
70 |
if (m_options & upmpdDoOH) {
|
70 |
m_ohif = new OHInfo(this);
|
71 |
m_ohif = new OHInfo(this);
|
71 |
m_services.push_back(m_ohif);
|
72 |
m_services.push_back(m_ohif);
|
72 |
m_services.push_back(new OHTime(this));
|
73 |
m_services.push_back(new OHTime(this));
|
73 |
m_services.push_back(new OHVolume(this));
|
74 |
m_services.push_back(new OHVolume(this));
|
|
|
75 |
m_services.push_back(new OHCredentials(this, opts.cachedir));
|
74 |
m_ohpl = new OHPlaylist(this, opts.ohmetasleep);
|
76 |
m_ohpl = new OHPlaylist(this, opts.ohmetasleep);
|
75 |
m_services.push_back(m_ohpl);
|
77 |
m_services.push_back(m_ohpl);
|
76 |
if (m_avt)
|
78 |
if (m_avt)
|
77 |
m_avt->setOHP(m_ohpl);
|
79 |
m_avt->setOHP(m_ohpl);
|
78 |
if (m_ohif)
|
80 |
if (m_ohif)
|