1
0
Fork 0
Rust interface to MPD using libmpdclient (mirrored from https://codeberg.org/fregrem/mpdclient)
  • Rust 99.8%
  • Makefile 0.2%
Find a file
2026-01-28 12:44:51 +01:00
.forgejo/workflows ci: add Bearer keyword to token 2026-01-28 12:44:51 +01:00
src remove useless result in tags 2026-01-23 18:04:09 +01:00
tests remove useless result in tags 2026-01-23 18:04:09 +01:00
.gitignore new test method and some found fixes 2026-01-23 16:57:11 +01:00
Cargo.toml bump version 2026-01-27 20:24:37 +01:00
LICENSE add LICENSE, README and add information to Cargo.toml 2025-03-10 18:17:54 +01:00
Makefile new test method and some found fixes 2026-01-23 16:57:11 +01: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.