From 4a0d4a02a64774c61840496c8141b89ed31d1d94 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 24 Aug 2009 18:57:06 +0200 Subject: 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. --- doc/mpdconf.example | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/mpdconf.example') diff --git a/doc/mpdconf.example b/doc/mpdconf.example index 1dce635b..4e3b19a5 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 { -- cgit v1.2.3