From: Maciej WilczyƄski Date: Sat, 15 Sep 2018 18:40:35 +0000 (+0200) Subject: Update README.md X-Git-Tag: 3.3RC0~215^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F743%2Fhead;p=thirdparty%2Fshairport-sync.git Update README.md --- diff --git a/README.md b/README.md index bfd61851..45309fd3 100644 --- a/README.md +++ b/README.md @@ -326,7 +326,15 @@ alsa = }; ``` -The `pa` group is used to specify settings relevant to the PulseAudio backend. You can set the "Application Name" that will appear in the "Sound" control panel. +The `pa` group is used to specify settings relevant to the PulseAudio backend. You can set the "Application Name" that will appear in the "Sound" control panel. You can also set the sink name that audio will be pushed to. Here's an example `pa` group configuration: + +``` +pa = +{ + application_name = "Shairport Sync - Bedroom"; + sink = "server_bedroom"; // Sink name or ID. If not specified, the default sink will be used. +}; +``` Shairport Sync can run programs just before it starts to play an audio stream and just after it finishes. You specify them using the `sessioncontrol` group settings `run_this_before_play_begins` and `run_this_after_play_ends`. This is to facilitate situations where something has to be done before and after playing, e.g. switching on an amplifier beforehand and switching it off afterwards. Set the `wait_for_completion` value to `"yes"` for Shairport Sync to wait until the respective commands have been completed before continuing.