diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-11-10 18:55:38 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-11-10 18:55:38 +0000 |
commit | b7d0e8901041dcee4df5fc3260b0fdfea27353dd (patch) | |
tree | 92ece541502daf05f2c0bed8dc8b005fff9dfccc /src/directory.c | |
parent | 732888a2e332829551049deb0a95d78b7733e2a0 (diff) | |
download | mpd-b7d0e8901041dcee4df5fc3260b0fdfea27353dd.tar.gz mpd-b7d0e8901041dcee4df5fc3260b0fdfea27353dd.tar.xz mpd-b7d0e8901041dcee4df5fc3260b0fdfea27353dd.zip |
sort tagtracker stuff and todo update
git-svn-id: https://svn.musicpd.org/mpd/branches/r2562-metadata-handling-rewrite@2579 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/directory.c')
-rw-r--r-- | src/directory.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/directory.c b/src/directory.c index 5ac94c534..443c8bfba 100644 --- a/src/directory.c +++ b/src/directory.c @@ -32,6 +32,7 @@ #include "mpd_types.h" #include "sig_handlers.h" #include "player.h" +#include "tagTracker.h" #include <string.h> #include <sys/types.h> @@ -1000,6 +1001,8 @@ int writeDirectoryDB() { while(fclose(fp) && errno==EINTR); + sortTagTrackerInfo(); + return 0; } @@ -1088,6 +1091,8 @@ int readDirectoryDB() { if(stat(directory_db,&st)==0) directory_dbModTime = st.st_mtime; + sortTagTrackerInfo(); + return 0; } |