|
a/src/ohradio.cxx |
|
b/src/ohradio.cxx |
|
... |
|
... |
110 |
bool OHRadio::readRadios()
|
110 |
bool OHRadio::readRadios()
|
111 |
{
|
111 |
{
|
112 |
// Id 0 means no selection
|
112 |
// Id 0 means no selection
|
113 |
o_radios.push_back(RadioMeta("Unknown radio", "", ""));
|
113 |
o_radios.push_back(RadioMeta("Unknown radio", "", ""));
|
114 |
|
114 |
|
|
|
115 |
UPnPP::PTMutexLocker conflock(g_configlock);
|
115 |
vector<string> allsubk = g_config->getSubKeys_unsorted();
|
116 |
vector<string> allsubk = g_config->getSubKeys_unsorted();
|
116 |
for (auto it = allsubk.begin(); it != allsubk.end(); it++) {
|
117 |
for (auto it = allsubk.begin(); it != allsubk.end(); it++) {
|
117 |
LOGDEB("OHRadio::readRadios: subk " << *it << endl);
|
118 |
LOGDEB("OHRadio::readRadios: subk " << *it << endl);
|
118 |
if (it->find("radio ") == 0) {
|
119 |
if (it->find("radio ") == 0) {
|
119 |
string uri, artUri;
|
120 |
string uri, artUri;
|