[Musicpd-dev-team] [PATCHv3 3/3] command: support output names in enable/disable

2012-06-11 Thread Michal Nazarewicz
From: Michal Nazarewicz min...@mina86.com This commit changes enable and disable commands so that they accept not only output number but also its name. This way, one does not need to remember the number of the output but instead use its name. It also makes user command work even if number

[Musicpd-dev-team] [PATCH 5/5] command: support output names in enable/disable

2012-05-28 Thread Michal Nazarewicz
From: Michal Nazarewicz min...@mina86.com This commit changes enable and disable commands so that they accept not only output number but also its name. This way, one does not need to remember the number of the output but instead use its name. It also makes user command work even if number

[Musicpd-dev-team] [PATCH 3/5] command: support multiple arguments in enable/disable

2012-05-28 Thread Michal Nazarewicz
From: Michal Nazarewicz min...@mina86.com This commit changes enable and disable commands in such a way that they accept more then one output number. This allows enabling or disabling multiple outputs with one mpc command. --- src/command.c | 37 ++--- src

[Musicpd-dev-team] [PATCH 2/5] idle: refactor code

2012-05-28 Thread Michal Nazarewicz
From: Michal Nazarewicz min...@mina86.com --- src/idle.c | 45 ++--- 1 files changed, 30 insertions(+), 15 deletions(-) diff --git a/src/idle.c b/src/idle.c index dc556ba..8929631 100644 --- a/src/idle.c +++ b/src/idle.c @@ -25,8 +25,9 @@ #include

[Musicpd-dev-team] [PATCH 4/5] command: add only argument to enable/disable command

2012-05-28 Thread Michal Nazarewicz
From: Michal Nazarewicz min...@mina86.com This commit adds only argument to enable and disable commands. When specified, mpc will enable (disable) outputs specified on command line and disable (enable) all other outputs. This is useful if one wants to enable only a single output with a single

Re: [Musicpd-dev-team] [PATCH 1/5] util: add work around for buggy version check

2012-05-28 Thread Michal Nazarewicz
On Mon, 28 May 2012 13:59:33 -0700, Max Kellermann m...@duempel.org wrote: On 2012/05/28 11:13, Michal Nazarewicz m...@google.com wrote: From: Michal Nazarewicz min...@mina86.com libmpdclient 2.1 had a buggy implementation of the LIBMPDCLIENT_CHECK_VERSION macro. This commit introduces