aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-07 15:57:22 +0100
committerMax Kellermann <max@duempel.org>2009-11-07 15:57:22 +0100
commit2f1bd39be8d0373c34c38fbe4e1249732c3f745b (patch)
treeaca0711369fec52d21029a66eb63beaf09f6f294 /doc
parent4624dfcb3077f9f45d49c4ce7a4ee1c98f7f8921 (diff)
downloadmpd-2f1bd39be8d0373c34c38fbe4e1249732c3f745b.tar.gz
mpd-2f1bd39be8d0373c34c38fbe4e1249732c3f745b.tar.xz
mpd-2f1bd39be8d0373c34c38fbe4e1249732c3f745b.zip
command: added command "decoders"
This command prints a list of decoder plugins and their suffixes / MIME types.
Diffstat (limited to '')
-rw-r--r--doc/protocol.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/protocol.xml b/doc/protocol.xml
index b6271403a..1f053acaa 100644
--- a/doc/protocol.xml
+++ b/doc/protocol.xml
@@ -1589,6 +1589,25 @@ OK
</para>
</listitem>
</varlistentry>
+ <varlistentry id="command_decoders">
+ <term>
+ <cmdsynopsis>
+ <command>decoders</command>
+ </cmdsynopsis>
+ </term>
+ <listitem>
+ <para>
+ Print a list of decoder plugins, followed by their
+ supported suffixes and MIME types. Example response:
+ </para>
+ <programlisting>plugin: mad
+suffix: mp3
+suffix: mp2
+mime_type: audio/mpeg
+plugin: mpcdec
+suffix: mpc</programlisting>
+ </listitem>
+ </varlistentry>
</variablelist>
</section>
</chapter>