From 7f0340e99ab01219199af30b7393ca0d61ad1213 Mon Sep 17 00:00:00 2001 From: Yannick LM Date: Sun, 21 Sep 2008 13:50:26 +0200 Subject: Adding crop feature in ncmpc The "crop" command deletes all songs from the playlist, except the one currently being played. --- src/mpdclient.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mpdclient.h') diff --git a/src/mpdclient.h b/src/mpdclient.h index c55e15453..2735f04ff 100644 --- a/src/mpdclient.h +++ b/src/mpdclient.h @@ -46,6 +46,8 @@ gint mpdclient_update(mpdclient_t *c); /*** MPD Commands **********************************************************/ gint mpdclient_cmd_play(mpdclient_t *c, gint index); gint mpdclient_cmd_pause(mpdclient_t *c, gint value); +gint +mpdclient_cmd_crop(mpdclient_t *c); gint mpdclient_cmd_stop(mpdclient_t *c); gint mpdclient_cmd_next(mpdclient_t *c); gint mpdclient_cmd_prev(mpdclient_t *c); -- cgit v1.2.3