diff options
author | Yannick LM <yannicklm1337@gmail.com> | 2008-09-21 13:50:26 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-21 13:50:26 +0200 |
commit | 7f0340e99ab01219199af30b7393ca0d61ad1213 (patch) | |
tree | 59d4ab43fd378496bf75f5b5195a7662104de4e9 /src/mpdclient.h | |
parent | 36acd5f8c2988c2b73fee670b2d37cb38f5c518b (diff) | |
download | mpd-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.h | 2 |
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); |