| Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The previous code only cared if the weight was positive, neutral, or
negative; which meant that it considered a track with weight = -1 equal
to one with weight = -999. This algorithm now performs a weighted
random selection based on the weight.
|
|
|
|
|
|
This tries to keep the playlist size somewhat bounded, but is probably
not yet a perfect solution.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It is easier to handle the messages before sending them.
The only thing we lose is the ability to specify messages via external
clients.
|
|
|
|
That is already covered by the `by-name` update script.
|
|
|
|
This is way more useful, than hard-coding `localhost:6600`.
|
|
This is not a library, as such we can just use anyhow and provide better
and more concise errors to the user.
|
|
This allows us to correctly track "negative" ratings, when the user
specifies `rating decr` multiple times.
|
|
|
|
It is just easier to use the hand-written rust version, than to try to
do this via the beets plugin.
|
|
This is based on https://github.com/sp1ff/mpdpopm at
commit 178df8ad3a5c39281cfd8b3cec05394f4c9256fd.
|
|
|
|
|
|
|
|
This change also ensures that this repo is reuse-3.0 compliant.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Nixpkgs has renamed their `mpc-cli` package to just `mpc`, turning this
`mpc` package into an override for the official nixpkgs one. I think
being explicit about the fact, that `mpc` is wrapped is the best
solution here.
|
|
This avoids shadowing the original `mpc rm` command
|