diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-10-29 16:38:42 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-10-29 16:38:42 +0000 |
commit | 59bd973de53c372c73b2a22d8b1e9a6b76e4b978 (patch) | |
tree | 0c5cf7400882755c8f295dce6b5bc987f433aa51 | |
parent | 348a1fb373162177126a40a74b047b9703be62eb (diff) | |
download | mpd-59bd973de53c372c73b2a22d8b1e9a6b76e4b978.tar.gz mpd-59bd973de53c372c73b2a22d8b1e9a6b76e4b978.tar.xz mpd-59bd973de53c372c73b2a22d8b1e9a6b76e4b978.zip |
listallinfo now prints out directories
git-svn-id: https://svn.musicpd.org/mpd/trunk@2399 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | src/directory.c | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -38,8 +38,6 @@ *) command for displaying playlist contents *) command for appending to playlist -*) have listallinfo return directories - *) abstract out input buffering from inputStream_http to inputStream *) use getaddrinfo instead of gethostbyname (check libshout) diff --git a/src/directory.c b/src/directory.c index 85773489b..75b50720c 100644 --- a/src/directory.c +++ b/src/directory.c @@ -1309,7 +1309,7 @@ int sumSongTime(FILE * fp, Song * song, void * data) { } int printInfoForAllIn(FILE * fp, char * name) { - return traverseAllIn(fp,name,directoryPrintSongInfo,NULL,NULL); + return traverseAllIn(fp,name,directoryPrintSongInfo,printDirectoryInDirectory,NULL); } int countSongsIn(FILE * fp, char * name) { |