|
a/src/ohradio.cxx |
|
b/src/ohradio.cxx |
|
... |
|
... |
190 |
bool OHRadio::readRadios()
|
190 |
bool OHRadio::readRadios()
|
191 |
{
|
191 |
{
|
192 |
// Id 0 means no selection
|
192 |
// Id 0 means no selection
|
193 |
o_radios.push_back(RadioMeta("Unknown radio", "", "", "", "", ""));
|
193 |
o_radios.push_back(RadioMeta("Unknown radio", "", "", "", "", ""));
|
194 |
|
194 |
|
195 |
std::unique_lock<std::mutex>(g_configlock);
|
|
|
196 |
getRadiosFromConf(g_config);
|
195 |
getRadiosFromConf(g_config);
|
197 |
// Also if radiolist is defined, get from there
|
196 |
// Also if radiolist is defined, get from there
|
198 |
string radiolistfn;
|
197 |
string radiolistfn;
|
199 |
if (g_config->get("radiolist", radiolistfn)) {
|
198 |
if (g_config->get("radiolist", radiolistfn)) {
|
200 |
ConfSimple rdconf(radiolistfn.c_str(), 1);
|
199 |
ConfSimple rdconf(radiolistfn.c_str(), 1);
|