diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-02-19 22:40:04 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-02-19 22:40:04 +0100 |
| commit | ac90e6dc4d18c4ecc3ebecba5f2f7bc370814977 (patch) | |
| tree | 999bf048aed2fc3baf8db214c09bf9de7361277b /pkgs/by-name/mp/mpdpopm/flake.nix | |
| parent | pkgs/mpdpopmd: Also consider the `last_played` sticker when calculating weights (diff) | |
| download | nixos-config-ac90e6dc4d18c4ecc3ebecba5f2f7bc370814977.zip | |
pkgs/mpdpopmd: Actually consider the weight value
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.
Diffstat (limited to 'pkgs/by-name/mp/mpdpopm/flake.nix')
0 files changed, 0 insertions, 0 deletions
