12 releases

0.1.0 Jul 9, 2023
0.0.12 Jun 23, 2017
0.0.11 Jan 25, 2016
0.0.7 Jun 26, 2015
0.0.2 Jan 24, 2015

#151 in Audio

Download history 227/week @ 2024-12-02 289/week @ 2024-12-09 258/week @ 2024-12-16 87/week @ 2024-12-23 106/week @ 2024-12-30 240/week @ 2025-01-06 284/week @ 2025-01-13 295/week @ 2025-01-20 164/week @ 2025-01-27 362/week @ 2025-02-03 323/week @ 2025-02-10 176/week @ 2025-02-17 282/week @ 2025-02-24 118/week @ 2025-03-03 316/week @ 2025-03-10 197/week @ 2025-03-17

963 downloads per month
Used in 20 crates (18 directly)

MIT/Apache

95KB
2K SLoC

rust-mpd

Pure Rust version of libmpdclient.

Full documentation

Example

Add to Cargo.toml:

[dependencies]
mpd = "*"

Then just use:

extern crate mpd;

use mpd::Client;

let mut conn = Client::connect("127.0.0.1:6600").unwrap();
conn.volume(100).unwrap();
conn.load("My Lounge Playlist", ..).unwrap();
conn.play().unwrap();
println!("Status: {:?}", conn.status());

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~165KB