LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pw-metadata

Monitor and manage PipeWire metadata

TLDR

Show the default metadata object
$ pw-metadata
copy
List every metadata object
$ pw-metadata --list
copy
Show the entries of a named object
$ pw-metadata --name [settings] [0]
copy
Read one property
$ pw-metadata --name [settings] [0] [log.level]
copy
Set a property
$ pw-metadata --name [settings] [0] [log.level] [1]
copy
Change the default audio sink
$ pw-metadata [0] [default.audio.sink] '{ "name": "[sink_name]" }'
copy
Follow changes as they happen
$ pw-metadata --monitor
copy
Clear all metadata
$ pw-metadata --delete
copy

SYNOPSIS

pw-metadata [options] [id] [key] [value] [type]

DESCRIPTION

pw-metadata monitors, sets, and deletes metadata on PipeWire objects. Metadata provides key-value pairs associated with PipeWire graph objects, used for configuration and runtime state management.The tool can operate on different metadata namespaces including "default" for general metadata and "settings" for PipeWire configuration values like log levels.

PARAMETERS

-n, --name name

Metadata name to operate on (default: "default")
-l, --list
List all available metadata objects
-m, --monitor
Monitor metadata changes continuously
-d, --delete
Delete metadata entries
-r, --remote NAME
Name of the remote instance to connect to (default: default PipeWire instance).
--version
Show version information.
-h, --help
Display help message.

INSTALL

sudo apt install pipewire-bin
copy
sudo apk add pipewire-tools
copy
sudo zypper install pipewire-tools
copy

CAVEATS

Modifying metadata in the "settings" namespace can affect PipeWire behavior immediately. Use caution when deleting metadata as it may reset configuration to defaults.

HISTORY

Part of PipeWire, the modern multimedia framework for Linux. Provides runtime inspection and modification of PipeWire's metadata system.

SEE ALSO

pipewire(1), pw-mon(1), pw-cli(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid