PW music console player. Heavily inspired by MOC, but much less feature-rich :)
pipewire(NOTE: version 1.6 minimum)
taglib
libsndfile
libglyr(optional for lyrics fetching)
libsystemd(optional for mpris remote control)
intel-oneapi-mkl(optional for visualization)
fftw(optional for visualization)
C++23 compiler
meson
ninja
toml++
meson setup -Dspectralizer=mkl --prefix=/usr build
meson install -C buildpmcp looks up for config files in $XDG_CONFIG_HOME/pmcp (typically in ~/.config/pmcp).
Config file examples you may find here
pmcp appears on the dbus session bus as an
MPRIS2 player
(org.mpris.MediaPlayer2.pmcp), so media keys, playerctl and status bars work
out of the box. pmcpctl ships as a small client for the same interface:
pmcpctl <status|monitor|play|pause|next|prev|stop|quit>pmcpctl status prints the current song and position, pmcpctl monitor prints
it again on every change and sleeps in between, which makes it a cheap feed for
a status bar.