HEX
Server: LiteSpeed
System: Linux node612.namehero.net 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: dfwparty (1186)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/pipewire.cpython-36.pyc
3

ܓ�i�	�@s2ddlZddlmZmZmZGdd�dee�ZdS)�N)�Plugin�IndependentPlugin�	PluginOptc@s:eZdZdZdZdZdZdZed	e	d
dd�gZ
d
d�ZdS)�PipeWirez�The PipeWire plugin collects information about the system's input
    and output devices, their configuration, metadata, and map of logical
    signal flow as managed by PipeWire
    z:A low-level multimedia framework for audio-visual playback�pipewire�system�desktop�hardware�pipewire-bin�pipewire-utils�user�rootz(Run PipeWire commands as a specific user)Zval_type�defaultZdesccCs�|jd�}tj|�j}d|��d|�d�d�}dddd	d
ddd
dddddddg}x|D]}|j|||d�qVW|jddg�dS)Nrz
/run/user/zunix:path=/run/user/z/bus)ZXDG_RUNTIME_DIRZDBUS_SESSION_BUS_ADDRESSzpipewire --versionzpw-config pathszpw-config listzpw-cli list-remoteszpw-cli list-objectszpw-cli info allzpw-dumpzpw-link -oIvzpw-link -iIvzpw-link -lIvzpw-metadatazpw-metadata -lz
pw-dot -adzspa-acp-tool list-verbosezspa-acp-tool info)Zrunas�envz/etc/pipewire/*zpw.dot)Z
get_option�pwd�getpwnamZpw_uidZadd_cmd_outputZ
add_copy_spec)�selfrZuidrZcmds�cmd�r�/usr/lib/python3.6/pipewire.py�setup)s0

zPipeWire.setupN)rrr	)r
rr)�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZprofilesZpackagesr�strZoption_listrrrrrrs
r)rZsos.report.pluginsrrrrrrrr�<module>s