summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be657bb)
raw | patch | inline | side by side (parent: be657bb)
author | Max Kellermann <max@duempel.org> | |
Tue, 29 Sep 2009 19:49:53 +0000 (21:49 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 29 Sep 2009 19:49:53 +0000 (21:49 +0200) |
A while ago, I broke "plchanges" calls because I forgot to add a "!"
before playlist_is_empty().
before playlist_is_empty().
NEWS | patch | blob | history | |
src/mpdclient.c | patch | blob | history |
index 566465527cd3d218c56acf42898e33979ffaa12b..5ca9a40fc4824051b587c88bea139efc568af069 100644 (file)
--- a/NEWS
+++ b/NEWS
ncmpc 0.16 - not yet released
* using libmpdclient 2.0 instead of built-in libmpdclient
* allow multiple queued database updates
+* reactivate incremental playlist changes
ncmpc 0.15 - 2009-09-24
diff --git a/src/mpdclient.c b/src/mpdclient.c
index f6cd087692482dd8bcdafb8062eed2a3cca7a072..933a14874772a6890e7cf8b44dde5407c4ebe6c4 100644 (file)
--- a/src/mpdclient.c
+++ b/src/mpdclient.c
/* check if the playlist needs an update */
if (c->playlist.id != mpd_status_get_queue_version(c->status)) {
- if (playlist_is_empty(&c->playlist))
+ if (!playlist_is_empty(&c->playlist))
retval = mpdclient_playlist_update_changes(c);
else
retval = mpdclient_playlist_update(c);