aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-29 13:17:42 +0200
committerMax Kellermann <max@duempel.org>2008-09-29 13:17:42 +0200
commita0364d38d3542534600496c189a19b7482ef962c (patch)
tree5d9006dc8e7c10e34cbdc4b4d2a27194a8a449b0 /src/main.c
parent9819890f1dfe1bcb128f9857efd26f37b1a601ee (diff)
downloadmpd-a0364d38d3542534600496c189a19b7482ef962c.tar.gz
mpd-a0364d38d3542534600496c189a19b7482ef962c.tar.xz
mpd-a0364d38d3542534600496c189a19b7482ef962c.zip
directory: remove "Mp3" references
MPD has supported more audio formats than just MP3 for over five years...
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 5b8377731..202450690 100644
--- a/src/main.c
+++ b/src/main.c
@@ -280,7 +280,7 @@ static void openDB(Options * options, char *argv0)
flushWarningLog();
if (checkDirectoryDB() < 0)
exit(EXIT_FAILURE);
- initMp3Directory();
+ directory_init();
if (writeDirectoryDB() < 0)
exit(EXIT_FAILURE);
if (options->createDB)
@@ -455,8 +455,8 @@ int main(int argc, char *argv[])
finishPlaylist();
start = clock();
- closeMp3Directory();
- DEBUG("closeMp3Directory took %f seconds\n",
+ directory_finish();
+ DEBUG("directory_finish took %f seconds\n",
((float)(clock()-start))/CLOCKS_PER_SEC);
deinit_main_notify();