aboutsummaryrefslogtreecommitdiffstats
path: root/doc/mpdconf.example
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-08-24 18:57:06 +0200
committerMax Kellermann <max@duempel.org>2009-08-24 18:57:06 +0200
commit4a0d4a02a64774c61840496c8141b89ed31d1d94 (patch)
treeaeb8928d8d7653f4b0e81a53d71ff4d8edb0d6ca /doc/mpdconf.example
parent4231ec51c319ee43e06e9ab291696d8f1a546564 (diff)
downloadmpd-4a0d4a02a64774c61840496c8141b89ed31d1d94.tar.gz
mpd-4a0d4a02a64774c61840496c8141b89ed31d1d94.tar.xz
mpd-4a0d4a02a64774c61840496c8141b89ed31d1d94.zip
output/recorder: new output plugin for recording radio streams
The recorder plugin writes audio played by MPD to a file. This may be useful for recording radio streams. This implementation is incomplete, because support for tags is missing, and MPD should be able to record each track to a different file.
Diffstat (limited to 'doc/mpdconf.example')
-rw-r--r--doc/mpdconf.example12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index 1dce635b2..4e3b19a5a 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -226,6 +226,18 @@ input {
# mixer_type "software" # optional
#}
#
+# An example of a recorder output:
+#
+#audio_output {
+# type "recorder"
+# name "My recorder"
+# encoder "vorbis" # optional, vorbis or lame
+# path "/var/lib/mpd/recorder/mpd.ogg"
+# quality "5.0" # do not define if bitrate is defined
+# bitrate "128" # do not define if quality is defined
+# format "44100:16:1"
+#}
+#
# An example of a httpd output (built-in HTTP streaming server):
#
#audio_output {