# Mpdclient
Rust wrapper to interact with MPD through the C library [libmpdclient](https://musicpd.org/libs/libmpdclient/).
## Basic Usage
```rust
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.