aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-10-29 16:38:42 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-10-29 16:38:42 +0000
commit59bd973de53c372c73b2a22d8b1e9a6b76e4b978 (patch)
tree0c5cf7400882755c8f295dce6b5bc987f433aa51
parent348a1fb373162177126a40a74b047b9703be62eb (diff)
downloadmpd-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
Diffstat (limited to '')
-rw-r--r--TODO2
-rw-r--r--src/directory.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/TODO b/TODO
index 0b7abfe79..902ef9892 100644
--- a/TODO
+++ b/TODO
@@ -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) {