11 releases

Uses old Rust 2015

0.0.12 Jun 23, 2017
0.0.11 Jan 25, 2016
0.0.7 Jun 26, 2015
0.0.3 Feb 2, 2015
0.0.2 Jan 24, 2015

#463 in Audio

Download history 104/week @ 2023-01-26 155/week @ 2023-02-02 89/week @ 2023-02-09 204/week @ 2023-02-16 165/week @ 2023-02-23 103/week @ 2023-03-02 141/week @ 2023-03-09 60/week @ 2023-03-16 75/week @ 2023-03-23 70/week @ 2023-03-30 95/week @ 2023-04-06 53/week @ 2023-04-13 47/week @ 2023-04-20 151/week @ 2023-04-27 112/week @ 2023-05-04 124/week @ 2023-05-11

437 downloads per month
Used in fewer than 10 crates

MIT/Apache

97KB
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;
use std::net::TcpStream;

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

~1MB
~17K SLoC