aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-06-12 19:59:03 +0200
committerMax Kellermann <max@duempel.org>2012-06-12 22:16:13 +0200
commit5b217420954ad1962b822faa1e2881570f803992 (patch)
tree2061326a309595649ed699be95cfc63442360806 /src/cmdline.c
parent5665de5ee7282801da54de36f9b1212bc173dede (diff)
downloadmpd-5b217420954ad1962b822faa1e2881570f803992.tar.gz
mpd-5b217420954ad1962b822faa1e2881570f803992.tar.xz
mpd-5b217420954ad1962b822faa1e2881570f803992.zip
cmdline: dump list of playlist plugins
Diffstat (limited to 'src/cmdline.c')
-rw-r--r--src/cmdline.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmdline.c b/src/cmdline.c
index b2ed8d0db..b419d746c 100644
--- a/src/cmdline.c
+++ b/src/cmdline.c
@@ -25,6 +25,8 @@
#include "decoder_list.h"
#include "decoder_plugin.h"
#include "output_list.h"
+#include "playlist_list.h"
+#include "playlist_plugin.h"
#include "ls.h"
#include "mpd_error.h"
#include "glib_compat.h"
@@ -105,6 +107,11 @@ static void version(void)
#endif
puts("\n"
+ "Playlist plugins:");
+ playlist_plugins_for_each(plugin)
+ printf(" %s", plugin->name);
+
+ puts("\n\n"
"Protocols:\n");
print_supported_uri_schemes_to_fp(stdout);