From 57a2f95ff93620ae11ca8f96979fe231b4a259d3 Mon Sep 17 00:00:00 2001
From: patrick96
Date: Sat, 31 Mar 2018 03:20:17 +0200
Subject: [PATCH] log(mpd): Log mpd input events
---
src/modules/mpd.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/modules/mpd.cpp b/src/modules/mpd.cpp
index 3d0f86b1..4a5e84a2 100644
--- a/src/modules/mpd.cpp
+++ b/src/modules/mpd.cpp
@@ -332,6 +332,8 @@ namespace modules {
return false;
}
+ m_log.info("%s: event: %s", name(), cmd);
+
try {
auto mpd = factory_util::unique(m_log, m_host, m_port, m_pass);
mpd->connect();