reenable hack disabled with 0007ba40

it seems it's still needed ;X
This commit is contained in:
Andrzej Rybczak
2009-12-22 19:16:13 +01:00
parent 73f9c8c320
commit c005b7b303

View File

@@ -306,13 +306,13 @@ void Connection::UpdateStatus()
// status updater could invoke mpd commands that // status updater could invoke mpd commands that
// could fail se we need to check for errors // could fail se we need to check for errors
CheckForErrors(); CheckForErrors();
# if 0 # if 1
// below conditionals are a hack to workaround mpd bug 2608/2612 // below conditionals are a hack to workaround mpd bug 2608/2612
// by fetching another status with correct values after a while // by fetching another status with correct values after a while
if (!((idle_mask & MPD_IDLE_PLAYER) && !itsChanges.PlayerState)) if (!((idle_mask & MPD_IDLE_PLAYER) && !itsChanges.PlayerState))
GoIdle(); GoIdle();
else if (supportsIdle && !isIdle) //else if (supportsIdle && !isIdle)
OrderDataFetching(); // OrderDataFetching();
# else # else
GoIdle(); GoIdle();
# endif # endif