|
a/src/mpdcli.cxx |
|
b/src/mpdcli.cxx |
|
... |
|
... |
51 |
if (!openconn()) {
|
51 |
if (!openconn()) {
|
52 |
return;
|
52 |
return;
|
53 |
}
|
53 |
}
|
54 |
m_have_addtagid = checkForCommand("addtagid");
|
54 |
m_have_addtagid = checkForCommand("addtagid");
|
55 |
|
55 |
|
56 |
std::unique_lock<std::mutex>(g_configlock);
|
|
|
57 |
g_config->get("onstart", m_onstart);
|
56 |
g_config->get("onstart", m_onstart);
|
58 |
g_config->get("onplay", m_onplay);
|
57 |
g_config->get("onplay", m_onplay);
|
59 |
g_config->get("onpause", m_onpause);
|
58 |
g_config->get("onpause", m_onpause);
|
60 |
g_config->get("onstop", m_onstop);
|
59 |
g_config->get("onstop", m_onstop);
|
61 |
string scratch;
|
60 |
string scratch;
|