]> git.basschouten.com Git - openhab-addons.git/commitdiff
Fix typo in pactl list sinks example (#10568)
authorAndo "David" Roots <ando@sqroot.eu>
Sat, 24 Apr 2021 10:12:20 +0000 (13:12 +0300)
committerGitHub <noreply@github.com>
Sat, 24 Apr 2021 10:12:20 +0000 (12:12 +0200)
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 <ando@sqroot.eu>
bundles/org.openhab.binding.pulseaudio/README.md

index 8951f9d18b8721bb112c814e24a819509641aef5..571c82dc6ad87b8471afb68ef89f7146767b93d6 100644 (file)
@@ -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 <ip-address|hostname> list-sinks | grep "name:"` to find the name of a sink.
+You can use `pactl -s <ip-address|hostname> 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:<bridgname> "<Bridge Label>" @ "<Room>" [ host="<ipAddress>", 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"]