From 63178105c3f9ecfb80f658720148e7209a84c7d0 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Wed, 23 Dec 2009 16:23:33 +0100 Subject: [PATCH] remove hack that concerns idle events mode. fuck this. it's mpd problem, not mine (see bug 2612) --- src/mpdpp.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/mpdpp.cpp b/src/mpdpp.cpp index aef39c37..72389c40 100644 --- a/src/mpdpp.cpp +++ b/src/mpdpp.cpp @@ -306,16 +306,7 @@ void Connection::UpdateStatus() // status updater could invoke mpd commands that // could fail se we need to check for errors CheckForErrors(); -# 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 GoIdle(); -# endif } }