From c005b7b303e463f86ee4aa368913338ad8e85195 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Tue, 22 Dec 2009 19:16:13 +0100 Subject: [PATCH] reenable hack disabled with 0007ba40 it seems it's still needed ;X --- src/mpdpp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mpdpp.cpp b/src/mpdpp.cpp index 31eb0799..44f4b447 100644 --- a/src/mpdpp.cpp +++ b/src/mpdpp.cpp @@ -306,13 +306,13 @@ void Connection::UpdateStatus() // status updater could invoke mpd commands that // could fail se we need to check for errors CheckForErrors(); -# if 0 +# if 1 // below conditionals are a hack to workaround mpd bug 2608/2612 // by fetching another status with correct values after a while if (!((idle_mask & MPD_IDLE_PLAYER) && !itsChanges.PlayerState)) GoIdle(); - else if (supportsIdle && !isIdle) - OrderDataFetching(); + //else if (supportsIdle && !isIdle) + // OrderDataFetching(); # else GoIdle(); # endif