|
a/src/ohproduct.cxx |
|
b/src/ohproduct.cxx |
|
... |
|
... |
56 |
// Playlist must stay first.
|
56 |
// Playlist must stay first.
|
57 |
o_sources.push_back(pair<string,string>("Playlist","Playlist"));
|
57 |
o_sources.push_back(pair<string,string>("Playlist","Playlist"));
|
58 |
//o_sources.push_back("UpnpAv");
|
58 |
//o_sources.push_back("UpnpAv");
|
59 |
if (hasRcv) {
|
59 |
if (hasRcv) {
|
60 |
o_sources.push_back(pair<string,string>("Receiver","Receiver"));
|
60 |
o_sources.push_back(pair<string,string>("Receiver","Receiver"));
|
61 |
o_sources.push_back(pair<string,string>("Playlist", "Sender"));
|
61 |
o_sources.push_back(pair<string,string>("Playlist", "SenderReceiver"));
|
62 |
}
|
62 |
}
|
63 |
|
63 |
|
64 |
for (auto it = o_sources.begin(); it != o_sources.end(); it++) {
|
64 |
for (auto it = o_sources.begin(); it != o_sources.end(); it++) {
|
65 |
csxml += string(" <Source>\n") +
|
65 |
csxml += string(" <Source>\n") +
|
66 |
" <Name>" + it->second + "</Name>\n" +
|
66 |
" <Name>" + it->second + "</Name>\n" +
|