From 19eea60a262f166fad93eb131a28f6343ded4e57 Mon Sep 17 00:00:00 2001 From: "Ando \"David\" Roots" Date: Sat, 24 Apr 2021 13:12:20 +0300 Subject: [PATCH] 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 --- bundles/org.openhab.binding.pulseaudio/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.pulseaudio/README.md b/bundles/org.openhab.binding.pulseaudio/README.md index 8951f9d18..571c82dc6 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"]