From f468aba16e00aa003b28bd24a79c14cd07eefe3f Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Tue, 2 Nov 2004 23:44:33 +0000 Subject: new command "addid", this is the same as "add" command, except it also returns the songid of the added song. Note that "addid" does not work on directories git-svn-id: https://svn.musicpd.org/mpd/trunk@2487 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/directory.c') diff --git a/src/directory.c b/src/directory.c index 75b50720c..5caeb311d 100644 --- a/src/directory.c +++ b/src/directory.c @@ -1289,7 +1289,7 @@ int printAllIn(FILE * fp, char * name) { } int directoryAddSongToPlaylist(FILE * fp, Song * song, void * data) { - return addSongToPlaylist(fp,song); + return addSongToPlaylist(fp, song, 0); } int addAllIn(FILE * fp, char * name) { -- cgit v1.2.3