[Musicpd-dev-team] [PATCH 02/23] exconf: Comment formerly required files.

2009-03-29 Thread Avuton Olrich
--- doc/mpdconf.example |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/mpdconf.example b/doc/mpdconf.example index 646b56d..d875f9c 100644 --- a/doc/mpdconf.example +++ b/doc/mpdconf.example @@ -6,20 +6,20 @@ # This setting controls the top directory which

[Musicpd-dev-team] [PATCH 07/23] command: command_error() is not necessary for export.

2009-03-29 Thread Avuton Olrich
--- src/command.c |2 +- src/command.h |3 --- 2 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/command.c b/src/command.c index 69fbe51..ad14f52 100644 --- a/src/command.c +++ b/src/command.c @@ -121,7 +121,7 @@ static void command_error_v(struct client *client, enum ack

[Musicpd-dev-team] [PATCH 06/23] client: client_write() does not necessary for export.

2009-03-29 Thread Avuton Olrich
--- src/client.c |5 - src/client.h |5 - 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/client.c b/src/client.c index 65dc858..369390b 100644 --- a/src/client.c +++ b/src/client.c @@ -773,7 +773,10 @@ static void client_write_output(struct client *client)

[Musicpd-dev-team] [PATCH 04/23] exconf: update mixer documentation.

2009-03-29 Thread Avuton Olrich
--- doc/mpdconf.example | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/doc/mpdconf.example b/doc/mpdconf.example index 2f6259b..5061489 100644 --- a/doc/mpdconf.example +++ b/doc/mpdconf.example @@ -258,20 +258,25 @@ # Volume control mixer

[Musicpd-dev-team] [PATCH 10/23] fifo: remove unused function fifo_buffer_clear().

2009-03-29 Thread Avuton Olrich
--- src/fifo_buffer.c |9 - src/fifo_buffer.h |8 2 files changed, 0 insertions(+), 17 deletions(-) diff --git a/src/fifo_buffer.c b/src/fifo_buffer.c index adee438..b6b5cc0 100644 --- a/src/fifo_buffer.c +++ b/src/fifo_buffer.c @@ -65,15 +65,6 @@ fifo_buffer_free(struct

[Musicpd-dev-team] [PATCH 01/23] exconf: Merge required files with optional.

2009-03-29 Thread Avuton Olrich
--- doc/mpdconf.example |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/doc/mpdconf.example b/doc/mpdconf.example index bacc2ec..646b56d 100644 --- a/doc/mpdconf.example +++ b/doc/mpdconf.example @@ -1,7 +1,7 @@ # An example configuration file for MPD # See the

[Musicpd-dev-team] [PATCH 13/23] locate: remove unused function locate_item_free().

2009-03-29 Thread Avuton Olrich
--- src/locate.c |7 --- src/locate.h |3 --- 2 files changed, 0 insertions(+), 10 deletions(-) diff --git a/src/locate.c b/src/locate.c index 7e99a24..6c4134d 100644 --- a/src/locate.c +++ b/src/locate.c @@ -119,13 +119,6 @@ locate_item_list_casefold(const struct locate_item_list

[Musicpd-dev-team] [PATCH 09/23] decoder_buffer: remove unused function decoder_buffer_is_empty().

2009-03-29 Thread Avuton Olrich
--- src/decoder_buffer.c |6 -- src/decoder_buffer.h |3 --- 2 files changed, 0 insertions(+), 9 deletions(-) diff --git a/src/decoder_buffer.c b/src/decoder_buffer.c index 76e9126..dc28e9d 100644 --- a/src/decoder_buffer.c +++ b/src/decoder_buffer.c @@ -70,12 +70,6 @@

[Musicpd-dev-team] [PATCH 11/23] icy_metadata: icy_reset() is not necessary for export.

2009-03-29 Thread Avuton Olrich
--- src/icy_metadata.c |2 +- src/icy_metadata.h |3 --- 2 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/icy_metadata.c b/src/icy_metadata.c index 69aa890..cd274ca 100644 --- a/src/icy_metadata.c +++ b/src/icy_metadata.c @@ -28,7 +28,7 @@ #undef G_LOG_DOMAIN #define

[Musicpd-dev-team] [PATCH 16/23] queue: queue_generate_id() is not necessary for export.

2009-03-29 Thread Avuton Olrich
--- src/queue.c |5 - src/queue.h |6 -- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/queue.c b/src/queue.c index 21d4884..d7e3b96 100644 --- a/src/queue.c +++ b/src/queue.c @@ -20,7 +20,10 @@ #include queue.h #include song.h -unsigned +/** + * Generate a

[Musicpd-dev-team] [PATCH 15/23] player_control: remove unused function playerCurrentDecodeSong().

2009-03-29 Thread Avuton Olrich
--- src/player_control.c |7 --- src/player_control.h |3 --- 2 files changed, 0 insertions(+), 10 deletions(-) diff --git a/src/player_control.c b/src/player_control.c index dbeacf2..df4f4bf 100644 --- a/src/player_control.c +++ b/src/player_control.c @@ -268,10 +268,3 @@ double

[Musicpd-dev-team] [PATCH 18/23] queue_print: queue_print_song_info() is not necessry for export.

2009-03-29 Thread Avuton Olrich
--- src/queue_print.c | 10 +- src/queue_print.h | 12 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/src/queue_print.c b/src/queue_print.c index ef94100..2ca9ccc 100644 --- a/src/queue_print.c +++ b/src/queue_print.c @@ -24,7 +24,15 @@ #include locate.h

[Musicpd-dev-team] [PATCH 22/23] client: group static function declarations together.

2009-03-29 Thread Avuton Olrich
--- src/client.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/client.c b/src/client.c index 369390b..bb20441 100644 --- a/src/client.c +++ b/src/client.c @@ -113,6 +113,11 @@ static void client_write_deferred(struct client *client); static void

[Musicpd-dev-team] [PATCH 23/23] exconf: Fix spacing

2009-03-29 Thread Avuton Olrich
--- doc/mpdconf.example |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/doc/mpdconf.example b/doc/mpdconf.example index 5061489..e231296 100644 --- a/doc/mpdconf.example +++ b/doc/mpdconf.example @@ -1,6 +1,7 @@ # An example configuration file for MPD # See the

[Musicpd-dev-team] [PATCH 21/23] tag: remove unused function void tag_delete_item().

2009-03-29 Thread Avuton Olrich
--- src/tag.c | 22 -- 1 files changed, 0 insertions(+), 22 deletions(-) diff --git a/src/tag.c b/src/tag.c index 2cdefd5..c09fda7 100644 --- a/src/tag.c +++ b/src/tag.c @@ -126,28 +126,6 @@ struct tag *tag_new(void) return ret; } -static void

[Musicpd-dev-team] [PATCH 12/23] locate: remove unused function locate_item_new().

2009-03-29 Thread Avuton Olrich
--- src/locate.c | 13 - src/locate.h |4 2 files changed, 0 insertions(+), 17 deletions(-) diff --git a/src/locate.c b/src/locate.c index f0b0a26..7e99a24 100644 --- a/src/locate.c +++ b/src/locate.c @@ -63,19 +63,6 @@ locate_item_init(struct locate_item *item,

Re: [Musicpd-dev-team] mpdconf example updates / remove exports and unused functions

2009-03-29 Thread Max Kellermann
On 2009/03/29 19:58, Avuton Olrich avu...@gmail.com wrote: These patches contain quite a few mpdconf updates, keeps from exporting when possible and remove unused functions. Some of those unused functions were written because they might be useful soon, I don't agree with some of the removes,

[Musicpd-dev-team] [PATCH 1/1] Added the 'single' command

2009-03-29 Thread Romain Bignon
It also removes some trailing spaces... Signed-off-by: Romain Bignon rom...@peerfuse.org --- doc/mpc-bashrc |8 doc/mpc.1 |7 +-- src/command.c | 42 -- src/command.h |3 ++- src/libmpdclient.c | 14

[Musicpd-dev-team] [PATCH 1/1] Added the 'single' command

2009-03-29 Thread Romain Bignon
It also removes some trailing spaces... Signed-off-by: Romain Bignon rom...@peerfuse.org --- doc/mpc-bashrc |8 doc/mpc.1 |7 +-- src/command.c | 42 -- src/command.h |3 ++- src/libmpdclient.c | 14

[Musicpd-dev-team] [PATCH 2/2] support of the 'consume' mode

2009-03-29 Thread Romain Bignon
Signed-off-by: Romain Bignon rom...@peerfuse.org --- doc/mpc-bashrc |2 +- doc/mpc.1 |3 +++ src/command.c | 22 ++ src/command.h |1 + src/libmpdclient.c | 12 src/libmpdclient.h |4 src/main.c |1 +

[Musicpd-dev-team] Single and consume modes

2009-03-29 Thread Romain Bignon
Hello, I implemented few days ago the 'single' mode on MPD, and integrated support to this feature in libmpdclient and ncmpc. Ncmpcpp has also implemented it. I posted a patch bellow to support 'single' feature in mpc. The 'single' mode plays song only once, or repeat it if the 'repeat' mode is