fix(mpd): Connection state broadcasting

This commit is contained in:
Michael Carlberg
2016-10-29 06:52:48 +02:00
parent 1075144b00
commit e21d084fdd
3 changed files with 43 additions and 21 deletions

View File

@ -43,8 +43,6 @@ namespace modules {
}
void idle() {
if (!enabled())
sleep(100ms);
if (!m_tail)
sleep(m_interval);
else if (!m_command || !m_command->is_running())