LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rmpc

terminal Music Player Daemon client with album art

TLDR

Start the TUI
$ rmpc
copy
Connect to a specific MPD address
$ rmpc -a [host:port]
copy
Print a starter config
$ rmpc config
copy
Scan the music directory
$ rmpc update
copy
Save current album art to a file
$ rmpc albumart -o [path/to/cover.jpg]
copy
Toggle playback without opening the TUI
$ rmpc togglepause
copy
Show the current song
$ rmpc song
copy

SYNOPSIS

rmpc [options] [command]

DESCRIPTION

rmpc is a Rust TUI client for mpd. It shows the queue, library, lyrics, and album art, and also works as a scripting CLI so you do not need mpc for play/pause/next. Commands available on the CLI are the same as TUI command mode (`:`).Default config can be printed with rmpc config and used as a starting point.

PARAMETERS

-a, --address host:port

MPD address (overrides config).
-p, --password password
MPD password.
-c, --config file
Config file path.
-t, --theme file
Theme file path.
--partition name
MPD partition to use.
--autocreate
Create the partition if it does not exist (requires --partition).

COMMANDS

With no command, rmpc opens the TUI. Headless commands include play, pause, unpause, togglepause, stop, next, prev, volume, repeat, random, single, consume and their toggle* variants, seek, clear, add, status, song, update, rescan, albumart, config, theme, outputs, sticker, and remote.remote talks to a running TUI instance (`keybind`, `switchtab`, `status`, `query`). Pass --pid to target one process.

INSTALL

sudo pacman -S rmpc
copy
sudo apk add rmpc
copy
sudo zypper install rmpc
copy
brew install rmpc
copy
nix profile install nixpkgs#rmpc
copy

CAVEATS

Requires a running MPD instance. Album art and some extras depend on optional runtime libraries; rmpc debuginfo lists them. albumart exit codes: 0 success, 1 error, 2 no art, 3 nothing playing.

HISTORY

Written by mierak as a modern MPD client with sixel/kitty image support.

SEE ALSO

mpd(1), mpc(1), ncmpcpp(1)

RESOURCES

Copied to clipboard
Kai