diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-11-02 23:44:33 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-11-02 23:44:33 +0000 |
commit | f468aba16e00aa003b28bd24a79c14cd07eefe3f (patch) | |
tree | 80646af809b96d90938b1fe6ab87abb01e2170c9 /src/playlist.h | |
parent | 78c5d884d2c687034d18e4cb77c7c116e1c97b84 (diff) | |
download | mpd-f468aba16e00aa003b28bd24a79c14cd07eefe3f.tar.gz mpd-f468aba16e00aa003b28bd24a79c14cd07eefe3f.tar.xz mpd-f468aba16e00aa003b28bd24a79c14cd07eefe3f.zip |
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
Diffstat (limited to '')
-rw-r--r-- | src/playlist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist.h b/src/playlist.h index 2b6befd74..025e6445c 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -42,9 +42,9 @@ void savePlaylistState(); int clearPlaylist(FILE * fp); -int addToPlaylist(FILE * fp, char * file); +int addToPlaylist(FILE * fp, char * file, int printId); -int addSongToPlaylist(FILE * fp, Song * song); +int addSongToPlaylist(FILE * fp, Song * song, int printId); int showPlaylist(FILE * fp); |