log(mpd): Log mpd input events

This commit is contained in:
patrick96 2018-03-31 03:20:17 +02:00 committed by NBonaparte
parent bbe5769bb0
commit 57a2f95ff9

View File

@ -332,6 +332,8 @@ namespace modules {
return false; return false;
} }
m_log.info("%s: event: %s", name(), cmd);
try { try {
auto mpd = factory_util::unique<mpdconnection>(m_log, m_host, m_port, m_pass); auto mpd = factory_util::unique<mpdconnection>(m_log, m_host, m_port, m_pass);
mpd->connect(); mpd->connect();