File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/pipewire.cpython-36.opt-1.pyc
3
ܓ�i� � @ s2 d dl Z d dlmZmZmZ G dd� dee�ZdS )� N)�Plugin�IndependentPlugin� PluginOptc @ s: e Zd ZdZdZdZdZdZed 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�defaultZdescc C s� | j d�}tj|�j}d|� �d|� d�d�}dddd d
ddd
dddddddg}x|D ]}| j|||d� qVW | jddg� d S )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-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�getpwnamZpw_uidZadd_cmd_outputZ
add_copy_spec)�selfr Zuidr Zcmds�cmd� r �/usr/lib/python3.6/pipewire.py�setup) s0
zPipeWire.setupN)r r r )r
r r )�__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