From: Ando "David" Roots Date: Sat, 24 Apr 2021 10:12:20 +0000 (+0300) Subject: Fix typo in pactl list sinks example (#10568) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=19eea60a262f166fad93eb131a28f6343ded4e57;p=openhab-addons.git Fix typo in pactl list sinks example (#10568) The syntax for listing Pulseaudio sinks is with a space, not dash (two arguments). Ref https://manpages.ubuntu.com/manpages/trusty/man1/pactl.1.html Signed-off-by: Ando Roots --- diff --git a/bundles/org.openhab.binding.pulseaudio/README.md b/bundles/org.openhab.binding.pulseaudio/README.md index 8951f9d18b..571c82dc6a 100644 --- a/bundles/org.openhab.binding.pulseaudio/README.md +++ b/bundles/org.openhab.binding.pulseaudio/README.md @@ -21,7 +21,7 @@ The Pulseaudio bridge is discovered through mDNS in the local network. ## Thing Configuration The Pulseaudio bridge requires the host (ip address or a hostname) and a port (default: 4712) as a configuration value in order for the binding to know where to access it. -You can use `pactl -s list-sinks | grep "name:"` to find the name of a sink. +You can use `pactl -s list sinks | grep "name:"` to find the name of a sink. ## Channels @@ -46,7 +46,7 @@ This requires the module **module-simple-protocol-tcp** to be present on the ser ``` Bridge pulseaudio:bridge: "" @ "" [ host="", port=4712 ] { Things: - Thing sink multiroom "Snapcast" @ "Room" [name="alsa_card.pci-0000_00_1f.3", activateSimpleProtocolSink="true", simpleProtocolSinkPort="4711"] // the name corresponds to pactl list-sinks output + Thing sink multiroom "Snapcast" @ "Room" [name="alsa_card.pci-0000_00_1f.3", activateSimpleProtocolSink="true", simpleProtocolSinkPort="4711"] // the name corresponds to `pactl list sinks` output Thing source microphone "microphone" @ "Room" [name="alsa_input.pci-0000_00_14.2.analog-stereo"] Thing sink-input openhabTTS "OH-Voice" @ "Room" [name="alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra1"] Thing source-output remotePulseSink "Other Room Speaker" @ "Other Room" [name="alsa_input.pci-0000_00_14.2.analog-stereo"]