1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 20:44:56 +00:00

Fixed $if_mpd_playing. Would not return false after true.

Previously, is_playing was never returned to 0 even if a song stopped
playing.

Signed-off-by: Brenden Matthews <brenden@rty.ca>
This commit is contained in:
Ole Christian Tvedt 2009-06-15 02:02:58 +02:00 committed by Brenden Matthews
parent 9048af353a
commit 5f31a052bb

View File

@ -235,6 +235,8 @@ static void *update_mpd_thread(void *arg)
} else { } else {
mpd_info.repeat = ""; mpd_info.repeat = "";
} }
} else {
mpd_info.is_playing = 0;
} }
if (conn->error) { if (conn->error) {