From 3a7cf212fbd23b4b8eee0f8a6e29d3c9e8439a5a Mon Sep 17 00:00:00 2001 From: chme Date: Sat, 25 Apr 2015 05:47:25 +0200 Subject: [PATCH] [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;