1
0
Fork 0
Rust interface to MPD using libmpdclient (mirrored from https://codeberg.org/fregrem/mpdclient)
Find a file
2025-09-27 22:54:40 +02:00
mpd basic playlist, not working 2025-02-14 14:47:10 +01:00
src fix clippy warnings 2025-09-27 22:33:10 +02:00
tests some test adjustments 2025-09-27 22:54:40 +02:00
.gitignore update mpdclient-sys 2025-09-27 22:24:45 +02:00
Cargo.toml update mpdclient-sys 2025-09-27 22:24:45 +02:00
LICENSE add LICENSE, README and add information to Cargo.toml 2025-03-10 18:17:54 +01:00
Makefile some test adjustments 2025-09-27 22:54:40 +02:00
README.md add LICENSE, README and add information to Cargo.toml 2025-03-10 18:17:54 +01:00

Mpdclient

Rust wrapper to interact with MPD through the C library libmpdclient.

Basic Usage

fn main() {
	// First, a connection to a MPD server must be created.
	let connection = Connection::new()?;

	// After that, commands can be sent to MPD, like adding to the queue.
	connection.queue().add("example.mp3")?;
}

Requirements

Currently supports the MPD protocol >= 0.23 (libmpdclient >= 2.21.0).

Also doesn't implement the async connection for now.