3
ܓi @ s2 d dl Z d dlmZmZmZ G dd deeZdS ) N)PluginIndependentPlugin PluginOptc @ s: e Zd ZdZdZdZdZdZed e d
ddgZ
d
d ZdS )PipeWirezThe 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 playbackpipewiresystemdesktophardwarepipewire-binpipewire-utilsuserrootz(Run PipeWire commands as a specific user)Zval_typedefaultZdescc C s | j d}tj|j}d| d| dd}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)Zrunasenvz/etc/pipewire/*zpw.dot)Z
get_optionpwdgetpwnamZpw_uidZadd_cmd_outputZ
add_copy_spec)selfr Zuidr Zcmdscmd r /usr/lib/python3.6/pipewire.pysetup) 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