#mpd #mpd-client #music-player #interface #mpc #wraps #daemon

mpd-easy

A wrapper around the mpd crate simplifying common tasks

6 releases

0.2.1 Jan 14, 2024
0.2.0 Jan 12, 2024
0.1.7 Jan 7, 2024
0.1.4 Dec 27, 2023

#630 in Audio

Download history 4/week @ 2023-12-31 15/week @ 2024-01-07 6/week @ 2024-01-14 44/week @ 2024-02-11 4/week @ 2024-02-25 95/week @ 2024-03-31

95 downloads per month
Used in mp-cli

MIT/Apache

53KB
1.5K SLoC

Music Player Daemon (MPD) Easy

An MPD client library that wraps the mpd crate providing an interface that closely resembles the mpc commands.

Why?

This was created initially for fun and practice writing Rust. The library code here was written in support of mp-cli.

SketcyBar

Recently I've been playing around with the Rust nightly feature cargo-script in conjunction with SketchBar. I wanted to see if I could write a SketchyBar plugin that displays current MPD status entirely in Rust. Combining this library, my Rust SketchyBar helper and cargo-script I was able to do just that.

sketchybar-mpd-example

See the sketchybar example for more details.

Dependencies

~1.9–3MB
~56K SLoC