|
a/src/mpdcli.cxx |
|
b/src/mpdcli.cxx |
|
... |
|
... |
54 |
m_have_addtagid = checkForCommand("addtagid");
|
54 |
m_have_addtagid = checkForCommand("addtagid");
|
55 |
|
55 |
|
56 |
m_ok = true;
|
56 |
m_ok = true;
|
57 |
m_ok = updStatus();
|
57 |
m_ok = updStatus();
|
58 |
|
58 |
|
59 |
UPnPP::PTMutexLocker conflock(g_configlock);
|
59 |
std::unique_lock<std::mutex>(g_configlock);
|
60 |
g_config->get("onstart", m_onstart);
|
60 |
g_config->get("onstart", m_onstart);
|
61 |
g_config->get("onplay", m_onplay);
|
61 |
g_config->get("onplay", m_onplay);
|
62 |
g_config->get("onstop", m_onstop);
|
62 |
g_config->get("onstop", m_onstop);
|
63 |
string scratch;
|
63 |
string scratch;
|
64 |
g_config->get("onvolumechange", scratch);
|
64 |
g_config->get("onvolumechange", scratch);
|