summaryrefslogtreecommitdiff
path: root/2-infos.sh
blob: a9806c0e258c787516f2c25558a92d3acf6b4c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
$ pw-cli list-objects
        [...]
        id 50, type PipeWire:Interface:Node/3
                object.serial = "51"
                object.path = "alsa:pcm:3:front:3:playback"
                factory.id = "18"
                client.id = "33"
                device.id = "47"
                priority.session = "1009"
                priority.driver = "1009"
                node.description = "USB Audio Analog Stereo"
                node.name = "alsa_output.usb-Generic_USB_Audio-00.analog-stereo"
                node.nick = "USB Device 0xdb0 0x422d"
                media.class = "Audio/Sink"
        [...]
        id 73, type PipeWire:Interface:Node/3
                object.serial = "1170"
                object.path = "alsa:pcm:4:front:4:playback"
                factory.id = "18"
                client.id = "33"
                device.id = "71"
                priority.session = "1009"
                priority.driver = "1009"
                node.description = "Sennheiser PC 8.2 USB Analog Stereo"
                node.name = "alsa_output.usb-Sennheiser_Sennheiser_PC_8.2_USB_A002900204807706-00.analog-stereo"
                node.nick = "Sennheiser PC 8.2 USB"
                media.class = "Audio/Sink"
        [...]

$ pw-cli info 50 |grep node.desc
*		node.description = "USB Audio Analog Stereo"

$ pw-cli info 73 |grep node.desc
*		node.description = "Sennheiser PC 8.2 USB Analog Stereo"

$ pw-dump 73|jq '.[0].info.props["node.description"]'
"Sennheiser PC 8.2 USB Analog Stereo"