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

#201 in Audio

Download history 72/week @ 2024-02-03 131/week @ 2024-02-10 235/week @ 2024-02-17 132/week @ 2024-02-24 175/week @ 2024-03-02 186/week @ 2024-03-09 175/week @ 2024-03-16 184/week @ 2024-03-23 248/week @ 2024-03-30 254/week @ 2024-04-06 200/week @ 2024-04-13 209/week @ 2024-04-20 185/week @ 2024-04-27 178/week @ 2024-05-04 176/week @ 2024-05-11 185/week @ 2024-05-18

756 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

~210KB