listallinfo now prints out directories

git-svn-id: https://svn.musicpd.org/mpd/trunk@2399 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-10-29 16:38:42 +00:00
parent 348a1fb373
commit 59bd973de5
2 changed files with 1 additions and 3 deletions

2
TODO
View File

@ -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)

View File

@ -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) {