output/Interface: add "attributes" map

These attributes are printed in the "outputs" response, and the new
command "outputset" allows setting new values.

No attributes are currently implemented.
This commit is contained in:
Max Kellermann
2017-12-19 08:45:34 +01:00
parent d05c3f4e4d
commit 86a06a7acc
13 changed files with 161 additions and 1 deletions

View File

@@ -2523,6 +2523,7 @@ outputid: 0
outputname: My ALSA Device
plugin: alsa
outputenabled: 0
attribute: dop=0
OK
</screen>
<para>
@@ -2547,6 +2548,24 @@ OK
</itemizedlist>
</listitem>
</varlistentry>
<varlistentry id="command_outputset">
<term>
<cmdsynopsis>
<command>outputset</command>
<arg choice="req"><replaceable>ID</replaceable></arg>
<arg choice="req"><replaceable>NAME</replaceable></arg>
<arg choice="req"><replaceable>VALUE</replaceable></arg>
</cmdsynopsis>
</term>
<listitem>
<para>
Set a runtime attribute. These are specific to the
output plugin, and supported values are usually printed
in the <command>outputs</command> response.
</para>
</listitem>
</varlistentry>
</variablelist>
</section>