remove hack that guaranteed proper status update (not needed anymore)

it's fixed for mpd-git, newest mpd-0.15.x doesn't seem to suffer
from this bug anymore, mpd-0.13 doesn't support idle. no idea about
mpd-0.14 though, but come on. if you use it, upgrade.
This commit is contained in:
Andrzej Rybczak
2009-12-18 17:00:29 +01:00
parent 35894b048a
commit 0007ba4082

View File

@@ -306,12 +306,16 @@ void Connection::UpdateStatus()
// status updater could invoke mpd commands that
// could fail se we need to check for errors
CheckForErrors();
# if 0
// 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
}
}