From c1ef76a9437c1d69a18f31884d50ee45236a279c Mon Sep 17 00:00:00 2001 From: chme Date: Sat, 25 Apr 2015 05:40:04 +0200 Subject: [PATCH 1/2] Readme update for supported mpd commands for ympd and mpc --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c04e714b..92e649e8 100644 --- a/README.md +++ b/README.md @@ -491,8 +491,8 @@ Following table shows what is working for a selection of MPD clients: | Client | Type | Status | | --------------------------------------------- | ------ | --------------- | -| [mpc](http://www.musicpd.org/clients/mpc/) | CLI | Working commands: mpc, add, crop, current, del (ranges are not yet supported), play, next, prev (behaves like cdprev), pause, toggle, cdprev, seek, clear, playlist, ls, load, volume, repeat, random, single, update (initiates an init-rescan, the path argument is not supported) | -| [ympd](http://www.ympd.org/) | Web | Everything except "search" should work | +| [mpc](http://www.musicpd.org/clients/mpc/) | CLI | Working commands: mpc, add, crop, current, del (ranges are not yet supported), play, next, prev (behaves like cdprev), pause, toggle, cdprev, seek, clear, outputs, enable, disable, playlist, ls, load, volume, repeat, random, single, search, find, list, update (initiates an init-rescan, the path argument is not supported) | +| [ympd](http://www.ympd.org/) | Web | Everything except "add stream" should work | From 3a7cf212fbd23b4b8eee0f8a6e29d3c9e8439a5a Mon Sep 17 00:00:00 2001 From: chme Date: Sat, 25 Apr 2015 05:47:25 +0200 Subject: [PATCH 2/2] [mpd] fix command "list" for type "artist" --- src/mpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpd.c b/src/mpd.c index d299c9c6..e10af70f 100644 --- a/src/mpd.c +++ b/src/mpd.c @@ -2143,7 +2143,7 @@ mpd_command_list(struct evbuffer *evbuf, int argc, char **argv, char **errmsg) qp.sort = S_ARTIST; type = "Artist: "; } - if (0 == strcasecmp(argv[1], "albumartist")) + else if (0 == strcasecmp(argv[1], "albumartist")) { qp.type = Q_GROUP_ARTISTS; qp.sort = S_ARTIST;