mirror of
https://github.com/polybar/polybar.git
synced 2024-11-18 13:55:11 -05:00
log(mpd): Log mpd input events
This commit is contained in:
parent
bbe5769bb0
commit
57a2f95ff9
1 changed files with 2 additions and 0 deletions
|
@ -332,6 +332,8 @@ namespace modules {
|
|||
return false;
|
||||
}
|
||||
|
||||
m_log.info("%s: event: %s", name(), cmd);
|
||||
|
||||
try {
|
||||
auto mpd = factory_util::unique<mpdconnection>(m_log, m_host, m_port, m_pass);
|
||||
mpd->connect();
|
||||
|
|
Loading…
Reference in a new issue