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/command.c | |
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/command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c index afb7e42e4..0ae903381 100644 --- a/src/command.c +++ b/src/command.c @@ -102,6 +102,8 @@ static command_definition_t cmds[] = N_("Pause") }, { { 's', BS, 0 }, 0, CMD_STOP, "stop", N_("Stop") }, + { { 'o', 0, 0 }, 0, CMD_CROP, "crop", + N_("Crop") }, { { '>', 0, 0 }, 0, CMD_TRACK_NEXT, "next", N_("Next track") }, { { '<', 0, 0 }, 0, CMD_TRACK_PREVIOUS, "prev", |