sad

simple audio daemon
git clone git://git.2f30.org/sad.git
Log | Files | Refs | LICENSE

commit 221c0dbd0a37256fad30d7ced4bd1ee52fca13ba
parent 205121fb07ff15343b15b6ebeffb250a8d64f5ee
Author: sin <sin@2f30.org>
Date:   Fri Jan  2 15:31:28 +0000

Update PROTOCOL and rename delete to remove

Diffstat:
PROTOCOL | 5++---
cmd.c | 4++--
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/PROTOCOL b/PROTOCOL @@ -29,9 +29,8 @@ Play previous song. stop Stop playback. -add [ID] -Add the given song ID from the library to the playlist. If no ID -is provided, all songs in the library are added. +add ID +Add the given song ID from the library to the playlist. clear Clear playlist and stop playback. diff --git a/cmd.c b/cmd.c @@ -250,7 +250,7 @@ cmdempty(int fd, char *arg) } static void -cmddelete(int fd, char *arg) +cmdremove(int fd, char *arg) { } @@ -401,7 +401,7 @@ static Cmd cmds[] = { { "add", cmdadd }, { "clear", cmdclear }, { "empty", cmdempty }, - { "delete", cmddelete }, + { "remove", cmdremove }, { "playlist", cmdplaylist }, { "library", cmdlibrary }, { "learn", cmdlearn },