aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpdclient.h
diff options
context:
space:
mode:
authorYannick LM <yannicklm1337@gmail.com>2008-09-21 13:50:26 +0200
committerMax Kellermann <max@duempel.org>2008-09-21 13:50:26 +0200
commit7f0340e99ab01219199af30b7393ca0d61ad1213 (patch)
tree59d4ab43fd378496bf75f5b5195a7662104de4e9 /src/mpdclient.h
parent36acd5f8c2988c2b73fee670b2d37cb38f5c518b (diff)
downloadmpd-7f0340e99ab01219199af30b7393ca0d61ad1213.tar.gz
mpd-7f0340e99ab01219199af30b7393ca0d61ad1213.tar.xz
mpd-7f0340e99ab01219199af30b7393ca0d61ad1213.zip
Adding crop feature in ncmpc
The "crop" command deletes all songs from the playlist, except the one currently being played.
Diffstat (limited to '')
-rw-r--r--src/mpdclient.h2
1 files changed, 2 insertions, 0 deletions
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);