From 5f31a052bbcf831899c9dde7bd119f30a1bd5bdb Mon Sep 17 00:00:00 2001 From: Ole Christian Tvedt Date: Mon, 15 Jun 2009 02:02:58 +0200 Subject: [PATCH] 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 --- src/mpd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mpd.c b/src/mpd.c index 39fb1b5e..50109168 100644 --- a/src/mpd.c +++ b/src/mpd.c @@ -235,6 +235,8 @@ static void *update_mpd_thread(void *arg) } else { mpd_info.repeat = ""; } + } else { + mpd_info.is_playing = 0; } if (conn->error) {