|
a/src/mediaserver/mediaserver.cxx |
|
b/src/mediaserver/mediaserver.cxx |
|
... |
|
... |
22 |
|
22 |
|
23 |
using namespace std;
|
23 |
using namespace std;
|
24 |
|
24 |
|
25 |
MediaServer::MediaServer(const string& deviceid, const string& friendlyname,
|
25 |
MediaServer::MediaServer(const string& deviceid, const string& friendlyname,
|
26 |
const std::unordered_map<std::string, VDirContent>& files)
|
26 |
const std::unordered_map<std::string, VDirContent>& files)
|
27 |
: UpnpDevice(deviceid, files)
|
27 |
: UpnpDevice(deviceid, files), m_UDN(deviceid), m_fname(friendlyname)
|
28 |
{
|
28 |
{
|
29 |
m_cd = new ContentDirectory(this);
|
29 |
m_cd = new ContentDirectory(this);
|
30 |
m_cm = new UpMpdConMan(this);
|
30 |
m_cm = new UpMpdConMan(this);
|
31 |
}
|
31 |
}
|
32 |
|
32 |
|