mpdclient

Crates.iompdclient
lib.rsmpdclient
version0.1.2
created_at2025-03-10 17:20:35.464462+00
updated_at2025-04-03 18:41:59.93111+00
descriptionRust interface to MPD using libmpdclient
homepage
repositoryhttps://codeberg.org/fregrem/mpdclient
max_upload_size
id1586974
size241,608
(fregrem)

documentation

README

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.

Commit count: 0

cargo fmt