diff options
author | Wim Taymans <wtaymans@redhat.com> | 2020-05-06 17:12:01 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2020-05-06 17:12:01 +0200 |
commit | 91ef2fc68c426b8f1deb3a72e21414e7c3e8c7af (patch) | |
tree | 3b3d7a8a27ffea856848cc5c41022dda967f105c /man | |
parent | 55d75fb07597d5b229d90b3cfdd552e175e53718 (diff) |
man: add metadata man page
Diffstat (limited to 'man')
-rw-r--r-- | man/meson.build | 1 | ||||
-rw-r--r-- | man/pw-metadata.1.xml.in | 79 |
2 files changed, 80 insertions, 0 deletions
diff --git a/man/meson.build b/man/meson.build index b8565a8e..b18214e2 100644 --- a/man/meson.build +++ b/man/meson.build @@ -14,6 +14,7 @@ manpages = [ [ 'pw-cli', '1' ], [ 'pw-dot', '1' ], [ 'pw-profiler', '1' ], + [ 'pw-metadata', '1' ], [ 'pw-mididump', '1' ], [ 'pw-mon', '1' ] ] diff --git a/man/pw-metadata.1.xml.in b/man/pw-metadata.1.xml.in new file mode 100644 index 00000000..f35e0123 --- /dev/null +++ b/man/pw-metadata.1.xml.in @@ -0,0 +1,79 @@ +<?xml version="1.0"?><!--*-nxml-*--> +<!DOCTYPE manpage SYSTEM "xmltoman.dtd"> +<?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?> + +<!-- +This file is part of PipeWire. +--> + +<manpage name="pw-metadata" section="1" desc="The PipeWire metadata"> + + <synopsis> + <cmd>pw-metadata [<arg>options</arg>] [<arg>id</arg> [<arg>key</arg> [<arg>value</arg> [<arg>type</arg> ] ] ] ]</cmd> + </synopsis> + + <description> + <p>Monitor, set and delete metadata on PipeWire objects.</p> + + <p>Metadata are key/type/value tripplets attached to objects identified + by <arg>id</arg>. The metadata is shared between all applications + binding to the same metadata object. When an object is destroyed, all its + metadata is automatically removed.</p> + + <p>When no <arg>value</arg> is given, <cmd>pw-metadata</cmd> will query and + log the metadata matching the optional arguments <arg>id</arg> + and <arg>key</arg>. Without any arguments, all metadata is displayed.</p> + + <p>When <arg>value</arg> is given, <cmd>pw-metadata</cmd> will set the + metadata for <arg>id</arg> and <arg>key</arg> to <arg>value</arg> and + an optional <arg>type</arg>.</p> + </description> + + <options> + + <option> + <p><opt>-r | --remote</opt><arg>=NAME</arg></p> + <optdesc><p>The name the remote instance to use. If left unspecified, + a connection is made to the default PipeWire instance.</p></optdesc> + </option> + + <option> + <p><opt>-h | --help</opt></p> + + <optdesc><p>Show help.</p></optdesc> + </option> + + <option> + <p><opt>--version</opt></p> + <optdesc><p>Show version information.</p></optdesc> + </option> + + <option> + <p><opt>-m | --monitor</opt></p> + <optdesc><p>Keeps running and log the changes to the metadata.</p></optdesc> + </option> + + <option> + <p><opt>-d | --delete</opt></p> + <optdesc> + <p>Delete all metadata for <arg>id</arg> or for the + specified <arg>key</arg> of object <arg>id</arg></p> + <p>Without any option, all metadata is removed</p> + </optdesc> + </option> + + </options> + + <section name="Authors"> + <p>The PipeWire Developers <@PACKAGE_BUGREPORT@>; PipeWire is available from <url href="@PACKAGE_URL@"/></p> + </section> + + <section name="See also"> + <p> + <manref name="pipewire" section="1"/>, + <manref name="pw-mon" section="1"/>, + <manref name="pw-cli" section="1"/>, + </p> + </section> + +</manpage> |