From bb106c3bf8daf366a4b4ca7229010c038f89755c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 12 Oct 2008 03:35:45 -0700 Subject: directory: always maintain sorted properties vectors This allows clients to see sorted results while we're updating the DB and removes the need for us to have to sort manually. We'll have to write separate routines for managing stored playlists with songvecs eventually; but that's for another day. --- src/database.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/database.c') diff --git a/src/database.c b/src/database.c index a9e80f425..733180fea 100644 --- a/src/database.c +++ b/src/database.c @@ -183,10 +183,6 @@ int db_save(void) DEBUG("removing empty directories from DB\n"); directory_prune_empty(&music_root); - DEBUG("sorting DB\n"); - - directory_sort(&music_root); - DEBUG("writing DB\n"); fd = open(dbFile, O_WRONLY|O_TRUNC|O_CREAT, 0666); -- cgit v1.2.3