Merge from upstream:

command: let listall print songs only, as described by the man page
already (git commit 2aba75803de7b4cc7319f804977b7a12a61b7f92)
This commit is contained in:
dcoppa 2015-09-11 12:28:54 +00:00
parent 7141f45df2
commit 5424c40a2d
2 changed files with 22 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.20 2015/06/03 07:35:39 dcoppa Exp $
# $OpenBSD: Makefile,v 1.21 2015/09/11 12:28:54 dcoppa Exp $
COMMENT= command line client for mpd
VER= 0.27
DISTNAME= mpc-${VER}
REVISION= 0
CATEGORIES= audio
HOMEPAGE= http://www.musicpd.org/clients/mpc/

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-src_command_c,v 1.7 2015/09/11 12:28:54 dcoppa Exp $
commit 2aba75803de7b4cc7319f804977b7a12a61b7f92
Author: Thorsten Wi<C3><9F>mann <edu@thorsten-wissmann.de>
Date: Tue Jul 28 12:09:24 2015 +0200
command: let listall print songs only, as described by the man page
already
--- src/command.c.orig Fri Sep 11 14:23:47 2015
+++ src/command.c Fri Sep 11 14:24:10 2015
@@ -541,7 +541,7 @@ cmd_listall(int argc, char **argv, struct mpd_connecti
if (!mpd_send_list_all_meta(conn, tmp))
printErrorAndExit(conn);
- print_entity_list(conn, MPD_ENTITY_TYPE_UNKNOWN);
+ print_entity_list(conn, MPD_ENTITY_TYPE_SONG);
} else {
if (!mpd_send_list_all(conn, tmp))
printErrorAndExit(conn);