aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2008-12-16 21:42:34 +0100
committerViliam Mateicka <viliam.mateicka@gmail.com>2008-12-16 21:42:34 +0100
commitc73ebac4af7a3158189ba82c5eb74ae26e2b1106 (patch)
tree32b460ff927e6e15dcdc49b7c886e494514c8f4a /src/main.c
parent01c591fb84dff8c481dc5dc59420300880e37fcc (diff)
downloadmpd-c73ebac4af7a3158189ba82c5eb74ae26e2b1106.tar.gz
mpd-c73ebac4af7a3158189ba82c5eb74ae26e2b1106.tar.xz
mpd-c73ebac4af7a3158189ba82c5eb74ae26e2b1106.zip
new archive api, input_archive stream
Diffstat (limited to '')
-rw-r--r--src/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 538b559ee..199d76471 100644
--- a/src/main.c
+++ b/src/main.c
@@ -40,6 +40,7 @@
#include "permission.h"
#include "replay_gain.h"
#include "decoder_list.h"
+#include "archive_list.h"
#include "audioOutput.h"
#include "input_stream.h"
#include "state_file.h"
@@ -145,6 +146,11 @@ static void version(void)
puts("\n"
"Supported outputs:\n");
printAllOutputPluginTypes(stdout);
+
+ puts("\n"
+ "Supported archives:\n");
+ archive_plugin_init_all();
+ archive_plugin_print_all_suffixes(stdout);
}
static void parseOptions(int argc, char **argv, Options * options)
@@ -415,6 +421,7 @@ int main(int argc, char *argv[])
mapper_init();
initPermissions();
initPlaylist();
+ archive_plugin_init_all();
decoder_plugin_init_all();
update_global_init();
@@ -500,6 +507,7 @@ int main(int argc, char *argv[])
command_finish();
update_global_finish();
decoder_plugin_deinit_all();
+ archive_plugin_deinit_all();
music_pipe_free();
cleanUpPidFile();
finishConf();