summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8443ef)
raw | patch | inline | side by side (parent: b8443ef)
author | Max Kellermann <max@duempel.org> | |
Tue, 29 Sep 2009 20:14:35 +0000 (22:14 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 29 Sep 2009 20:14:35 +0000 (22:14 +0200) |
We will take advantage of the "addid" command, which was introduced in
MPD 0.12. Hey, who's still running 0.11 these days?
MPD 0.12. Hey, who's still running 0.11 these days?
NEWS | patch | blob | history | |
src/main.c | patch | blob | history |
index 5ca9a40fc4824051b587c88bea139efc568af069..3c4d0fc5c07b29ea2fe7b0b6a9101e40b98b34d1 100644 (file)
--- a/NEWS
+++ b/NEWS
ncmpc 0.16 - not yet released
* using libmpdclient 2.0 instead of built-in libmpdclient
+* require MPD 0.12
* allow multiple queued database updates
* reactivate incremental playlist changes
diff --git a/src/main.c b/src/main.c
index fb5de59652f7eaed0ec40888ebbaffd37f0d7897..6010482a45a45dc58ac28a703ceac5036ef4a5a5 100644 (file)
--- a/src/main.c
+++ b/src/main.c
#ifndef NCMPC_MINI
/* quit if mpd is pre 0.11.0 - song id not supported by mpd */
- if (mpd_connection_cmp_server_version(mpd->connection, 0, 11, 0) < 0) {
+ if (mpd_connection_cmp_server_version(mpd->connection, 0, 12, 0) < 0) {
const unsigned *version =
mpd_connection_get_server_version(mpd->connection);
screen_status_printf(_("Error: MPD version %d.%d.%d is to old (%s needed)"),
version[0], version[1], version[2],
- "0.11.0");
+ "0.12.0");
mpdclient_disconnect(mpd);
doupdate();