Mpdclient
Rust wrapper to interact with MPD through the C library libmpdclient.
Basic Usage
Requirements
Currently supports the MPD protocol >= 0.23 (libmpdclient >= 2.21.0).
Also doesn't implement the async connection for now.
Rust wrapper to interact with MPD through the C library libmpdclient.
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")?;
}
Currently supports the MPD protocol >= 0.23 (libmpdclient >= 2.21.0).
Also doesn't implement the async connection for now.