No description
Find a file
dependabot[bot] 2aa25072d4
Bump clap from 4.3.16 to 4.3.17
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.16 to 4.3.17.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.16...v4.3.17)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 08:16:07 +00:00
.github generate man page 2022-10-01 19:17:49 -04:00
src update rustfmt.toml 2023-07-01 16:44:35 -04:00
.gitignore initial commit 2020-10-21 12:53:01 -04:00
build.rs update rustfmt.toml 2023-07-01 16:44:35 -04:00
Cargo.lock Bump clap from 4.3.16 to 4.3.17 2023-07-20 08:16:07 +00:00
Cargo.toml Bump clap from 4.3.16 to 4.3.17 2023-07-20 08:16:07 +00:00
CHANGELOG.md bump version 2023-02-15 20:15:55 -05:00
Configuration.md docs: fix links 2022-11-08 23:20:41 -05:00
LICENSE Initial commit 2020-10-21 12:47:41 -04:00
mmtc.ron add QueueTitleExist, fix QueueFile 2022-12-05 10:15:14 -05:00
README.md fix ci badge 2022-12-23 14:56:22 -05:00
rustfmt.toml update rustfmt.toml 2023-07-01 16:44:35 -04:00

mmtc

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

Key Action
q or Ctrl + q quit mmtc
r toggle repeat
R toggle random
s toggle single
S toggle oneshot
c toggle consume
p toggle pause
; stop
h or Left seek backwards
l or Right seek forwards
H previous song
L next song
Enter play selected song or quit searching mode if in searching mode
Space select current song or the first song in the queue
j, Down, or ScrollDown go down in the queue
k, Up, or ScrollUp go up in the queue
J, Ctrl + d, or PageDown jump down in the queue
K, Ctrl + u, or PageUp jump up in the queue
g go to the top of the queue
G go to the bottom of the queue
/ enter searching mode
Ctrl + u empty search query
Escape quit searching mode and empty query

Configuration

See Configuration.md

Changelog

See CHANGELOG.md