| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/ |
Upload File : |
a
ܓ�i� � @ s2 d dl Z d dlmZmZmZ G dd� dee�ZdS )� N)�Plugin�IndependentPlugin� PluginOptc @ s: e Zd ZdZdZdZdZdZede ddd �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)�systemZdesktopZhardware)zpipewire-binzpipewire-utilsr �user�rootz(Run PipeWire commands as a specific user)Zval_type�defaultZdescc C sb | � d�}t�|�j}d|� �d|� d�d�}g d�}|D ]}| j|||d� q:| �dd g� d S )
Nr z
/run/user/zunix:path=/run/user/z/bus)ZXDG_RUNTIME_DIRZDBUS_SESSION_BUS_ADDRESS)zpipewire --versionzpw-config pathszpw-config listzpw-cli list-remoteszpw-cli list-objectszpw-cli info allzpw-dumpzpw-link -oIvzpw-link -iIvzpw-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�getpwnam�pw_uidZadd_cmd_outputZ
add_copy_spec)�selfr �uidr Zcmds�cmd� r �?/usr/lib/python3.9/site-packages/sos/report/plugins/pipewire.py�setup) s
��zPipeWire.setupN)�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZprofilesZpackagesr �strZoption_listr r r r r r s �� r )r Zsos.report.pluginsr r r r r r r r �<module> s