fix blocking playlist update

This commit is contained in:
Andrzej Rybczak
2009-03-24 17:38:48 +01:00
parent e5b9d83a10
commit 3710d3bafd
2 changed files with 7 additions and 4 deletions

View File

@@ -109,6 +109,8 @@ void TraceMpdStatus()
if (Mpd->Connected() && now.tv_sec > past.tv_sec)
{
Mpd->UpdateStatus();
BlockItemListUpdate = 0;
Playlist::BlockUpdate = 0;
gettimeofday(&past, 0);
}
wFooter->Refresh();