mmtc

December 23, 2022 ยท View on GitHub

release version deps license ci

Minimal mpd terminal client that aims to be simple yet highly configurable

Installation

repology

The latest precompiled binaries are available on github.

Alternatively you can install mmtc from crates.io with cargo.

cargo install mmtc

Building from source

cargo build --release

Usage

Usage: mmtc [OPTIONS]

Options:
      --clear-query-on-play     Clear query on play
  -C, --cmd [<CMD>...]          Run mpd commands and exit
      --cycle                   Cycle through the queue
      --no-clear-query-on-play  Don't clear query on play
      --no-cycle                Don't cycle through the queue
      --address <address>       Specify the address of the mpd server
  -c, --config <file>           Specify the config file
      --jump-lines <number>     The number of lines to jump
      --seek-secs <number>      The time to seek in seconds
      --ups <number>            The amount of status updates per second
  -h, --help                    Print help information (use `--help` for more detail)
  -V, --version                 Print version information

Environment variables

Setting both MPD_HOST and MPD_PORT is the equalvalent of --address $MPD_HOST:$MPD_PORT

Precedence: command line arguments > environment variables > configuration file

Key bindings

KeyAction
q or Ctrl + qquit mmtc
rtoggle repeat
Rtoggle random
stoggle single
Stoggle oneshot
ctoggle consume
ptoggle pause
;stop
h or Leftseek backwards
l or Rightseek forwards
Hprevious song
Lnext song
Enterplay selected song or quit searching mode if in searching mode
Spaceselect current song or the first song in the queue
j, Down, or ScrollDowngo down in the queue
k, Up, or ScrollUpgo up in the queue
J, Ctrl + d, or PageDownjump down in the queue
K, Ctrl + u, or PageUpjump up in the queue
ggo to the top of the queue
Ggo to the bottom of the queue
/enter searching mode
Ctrl + uempty search query
Escapequit searching mode and empty query

Configuration

See Configuration.md

Changelog

See CHANGELOG.md