No description
Find a file
dependabot[bot] 3f030eb349
Bump serde from 1.0.138 to 1.0.139
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.138 to 1.0.139.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.138...v1.0.139)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-17 06:09:37 +00:00
.github Bump actions/checkout from 2.4.0 to 3 2022-03-02 08:12:22 +00:00
src move crate level clippy attribute to function 2021-11-11 20:28:40 -05:00
.gitignore initial commit 2020-10-21 12:53:01 -04:00
build.rs bump dependencies 2022-05-04 12:16:44 -04:00
Cargo.lock Bump serde from 1.0.138 to 1.0.139 2022-07-17 06:09:37 +00:00
Cargo.toml Bump serde from 1.0.138 to 1.0.139 2022-07-17 06:09:37 +00:00
CHANGELOG.md bump version to 0.2.14 2021-11-08 14:03:17 -05:00
Configuration.md use relative path instead of full url 2021-01-15 16:28:28 -05:00
LICENSE Initial commit 2020-10-21 12:47:41 -04:00
mmtc.ron add cursor to search bar in default settings 2021-11-08 08:00:24 -05:00
README.md update deps badge 2022-05-04 13:00:11 -04:00
rustfmt.toml change merge_imports to imports_granularity 2021-02-01 14:19:36 -05: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

mmtc [FLAGS] [OPTIONS]
flag description
--clear-query-on-play Clear query on play
--cycle Cycle through the queue
-h, --help Prints help information
--no-clear-query-on-play Don't clear query on play
--no-cycle Don't cycle through the queue
-V, --version Prints version information
option description
--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

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