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

#145 in Audio

Download history 171/week @ 2023-12-15 120/week @ 2023-12-22 72/week @ 2023-12-29 208/week @ 2024-01-05 213/week @ 2024-01-12 112/week @ 2024-01-19 105/week @ 2024-01-26 49/week @ 2024-02-02 141/week @ 2024-02-09 215/week @ 2024-02-16 138/week @ 2024-02-23 184/week @ 2024-03-01 200/week @ 2024-03-08 157/week @ 2024-03-15 200/week @ 2024-03-22 196/week @ 2024-03-29

776 downloads per month
Used in 17 crates (16 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

~195KB