8 releases (5 breaking)

0.6.0 Jun 30, 2021
0.5.0 Jun 30, 2021
0.4.2 Jun 29, 2021
0.3.0 Aug 30, 2020
0.1.0 Aug 7, 2020

#1112 in Audio

GPL-3.0-or-later

65KB
2K SLoC

mpc-rs

Terminal based client for the Music Player Daemon written in Rust.

Sends a minimal amount of commands to MPD and automatically creates a new connection when the previous one times out and a new connection is required. It also uses a separate idling connection to listen for relevant events from MPD (on a separate thread).
tl;dr No polling for events, no pinging to keep connections alive, no creation of a new connection for each request, like some other clients might do.

Roughly based on vimpc, as it also uses vi-like keybinds.

Features (WIP)

  • Player status (WIP)
  • Player play/pause
  • View queue and play songs from queue
  • List and play playlists
  • Browse library (WIP)
  • Configurable (keybinds, theme (soon), ...)
  • Drawing in separate thread such that reconnecting doesn't block the UI
  • Any other basic feature you would expect from a MPD client

Dependencies

~8–15MB
~195K SLoC