rust-mpd
rust-mpd copied to clipboard
Rust version of libmpdclient
added playlistid function which returns song for playlist id
Tags in MPD are not a key-value mapping, but an array of key-value pairs. Some tags commonly have multiple values, such as PERFORMER, and by storing this data in a...
- lsinfo should return a Vec of String - Add listfiles
Hello, Please refer to my stackover flow question. The first answer found a potential bug. https://stackoverflow.com/questions/58878192/cannot-borrow-xxx-as-mutable-more-than-once-at-a-time-when-using-mpds-query/58879004#58879004
The provided test case fails to build on master, but seems like a valid use case. See: https://stackoverflow.com/questions/58878192/cannot-borrow-xxx-as-mutable-more-than-once-at-a-time-when-using-mpds-query/58879004#58879004 and #40 for a discussion.
This crate is already pretty lean, especially compared to the async alternatives. However, there are two dependencies that we can remove without much sacrifice. This leads to less code bloat...
This PR cleans up all clippy warnings, and runs rustfmt.
The mpd `lsinfo` command returns a list but the return value of the corresponding client function returns a single `Song`. The implemented behavior returns the last entry. The mpd documentation...
Not really sure where this problem comes from but I'll try my best to explain. I've got a basic loop that idles in blocking mode waiting for `Subsystem::Player` events, matches...