|
a/src/ohproduct.cxx |
|
b/src/ohproduct.cxx |
|
... |
|
... |
46 |
OHProduct::OHProduct(UpMpd *dev, const string& friendlyname, bool hasRcv)
|
46 |
OHProduct::OHProduct(UpMpd *dev, const string& friendlyname, bool hasRcv)
|
47 |
: UpnpService(sTpProduct, sIdProduct, dev), m_dev(dev),
|
47 |
: UpnpService(sTpProduct, sIdProduct, dev), m_dev(dev),
|
48 |
m_roomOrName(friendlyname), m_sourceIndex(0)
|
48 |
m_roomOrName(friendlyname), m_sourceIndex(0)
|
49 |
{
|
49 |
{
|
50 |
o_sources.push_back("Playlist");
|
50 |
o_sources.push_back("Playlist");
|
51 |
o_sources.push_back("UpnpAv");
|
51 |
//o_sources.push_back("UpnpAv");
|
52 |
if (hasRcv)
|
52 |
if (hasRcv)
|
53 |
o_sources.push_back("Receiver");
|
53 |
o_sources.push_back("Receiver");
|
54 |
|
54 |
|
55 |
for (auto it = o_sources.begin(); it != o_sources.end(); it++) {
|
55 |
for (auto it = o_sources.begin(); it != o_sources.end(); it++) {
|
56 |
csxml += string(" <Source>\n") +
|
56 |
csxml += string(" <Source>\n") +
|