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
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user